Linux 软件免费装

TRC OTP Login

开发者 theringconcept
更新时间 2026年11月11日 06:54
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

login otp woocommerce whatsapp phone login

下载

2.3.0

详情介绍:

TRC OTP Login lets your visitors log in, register and reset their password with a one-time code sent to their WhatsApp number. It works on its own: no other login plugin is needed. TRC OTP Login is not affiliated with or endorsed by WhatsApp or Meta. Country calling codes and number formats come from libphonenumber-js (MIT license).

安装:

  1. Upload the plugin (Plugins → Add New → Upload Plugin) and activate it.
  2. Settings → TRC OTP Login → WhatsApp API and Message: enter your provider credentials and template, then use the Test tab.
  3. Pages & popup: click "Create the Login page", then add the old login addresses to replace.
  4. Design: layout, colors, logos.
  5. Migration: "Import numbers" if your members already have a phone number on their account.
  6. Check that an existing account can log in, then deactivate your previous login plugin.

屏幕截图:

  • Registration form: name, WhatsApp number and optional email.
  • Code entry, with automatic resend timer.
  • Login popup, available on every page of the site.
  • Login page on mobile.
  • Design settings with live preview of the login page.
  • Form settings: login method, countries, registration fields.
  • WhatsApp provider settings (Meta WhatsApp Cloud API, UltraMsg, Green-API or custom HTTP API).
  • Migration tab: recognize and import phone numbers already saved on user accounts.

升级注意事项:

2.3.0 Plugin renamed "TRC OTP Login". Settings, phone numbers and shortcodes are kept. 2.2.0 Shortcodes renamed to [trc_wa_login_*]: posts and Elementor are updated automatically, widgets by hand. JavaScript API: TRCWAAuth. With "OTP Login With Phone Number", select the WhatsApp gateway again. 2.1.0 Compatibility with third-party login popup plugins was removed. If your members' numbers are stored in such a plugin's fields, add those meta keys under Forms → Existing accounts, or import the numbers before updating.

常见问题:

Do I need a WhatsApp Business account?

Yes. With the Meta WhatsApp Cloud API you need a WhatsApp Business account, a phone number ID, a permanent access token and an approved message template (an "Authentication" template is recommended). UltraMsg and Green-API work with their own WhatsApp instances.

Can I keep a password login?

Yes. The login method can be "WhatsApp code only", "WhatsApp code with password option" or "password only" (registration is then still verified by WhatsApp).

Where are phone numbers stored?

In the user meta trc_wa_phone (international format, digits only). The verified number is also copied into empty phone fields (WooCommerce billing_phone and the fields you list). Numbers are kept when the plugin is uninstalled.

Can I customize the login page template?

Copy templates/login-page.php into your theme as trc-otp-login/login-page.php.

更新日志:

2.3.0 2.2.0 2.1.0 2.0.5 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.1.0 1.0.0