Adev OTP Login

By adsinooweb

0+ active installationsVersion 1.2.1

Login and registration with one-time SMS codes. Supports Kavenegar, Melipayamak, SMS.ir, WooCommerce, and Polylang (Persian, English, Arabic).

Description

Adev OTP Login lets visitors sign in and register using a one-time password (OTP) sent by SMS.

Features

  • SMS OTP login and registration
  • Forgot / reset password via OTP
  • Shortcodes and modal / tabbed forms
  • Optional replacement of the default wp-login.php screen
  • WooCommerce checkout mobile verification and forced login
  • Gateways: Kavenegar, Melipayamak, and SMS.ir
  • Rate limiting, honeypot, and phone blacklist
  • Internationalized (English source strings); community translations via translate.wordpress.org
  • Polylang integration: locale sync and String Translations for button labels

Shortcodes

  • [adev_otp_login] — login form
  • [adev_otp_register] — registration form
  • [adev_otp_forgot] — forgot password form
  • [adev_otp_modal] — button that opens the auth modal
  • [adev_otp_button] — modal opener with custom label
  • [adev_otp_tabs] — tabbed inline forms (no popup)

Polylang

  1. Add Persian (fa), English (en), and Arabic (ar) in Polylang.
  2. Plugin UI strings follow the current language via WordPress locale / language packs.
  3. Customizable button texts appear under Languages → String translations (group: Adev OTP Login).

External services

This plugin connects to third-party SMS gateway APIs chosen by the site administrator. These services are required to deliver one-time verification codes by SMS. No SMS is sent and no personal data is transmitted to a gateway until an administrator configures API credentials and a visitor (or admin test) requests an OTP.

When an OTP is requested, the plugin sends the recipient mobile number, the generated OTP code (or template parameters containing it), and the administrator-configured API credentials / sender settings to the selected provider. Phone numbers may also be stored as WordPress user meta for account linking. OTP codes are kept temporarily in WordPress transients for verification and are not written to long-term send logs (logs store a masked phone and status only).

Kavenegar

Melipayamak

SMS.ir

Site owners should review each provider’s policies and ensure their own privacy notice discloses SMS-based authentication and sharing of phone numbers with the chosen gateway.

Installation

  1. Upload the adev-otp-login folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New.
  2. Activate the plugin through the Plugins screen.
  3. Go to OTP Login → Settings, choose a gateway, and enter API credentials.
  4. Place a shortcode on a page, or enable WooCommerce / wp-login options as needed.

FAQ

Does this plugin work without WooCommerce?

Yes. WooCommerce features are optional and load only when WooCommerce is active.

Which SMS providers are supported?

Kavenegar, Melipayamak, and SMS.ir (pattern / verify and simple send modes).

How do translations work with Polylang?

English is the source language. After the plugin is listed on WordPress.org, language packs are distributed via translate.wordpress.org. Polylang switches the locale per language; button labels from settings can also be translated in Polylang String Translations.

Are OTP codes stored?

OTP codes are stored temporarily (transients) with a short TTL for verification, then removed. Send logs mask phone numbers and do not store OTP codes.

What data is sent to SMS providers?

See the External services section. In short: the recipient phone number and OTP (plus your API credentials) are sent only when a code is requested.

Changelog

1.2.1

  • WordPress.org review packaging: document external SMS services, register [adev_otp_button], remove bundled directory assets / language binaries from the plugin package
  • Harden OTP attempt and daily SMS counters against concurrent races

1.2.0

  • Added SMS.ir gateway (verify template + bulk/simple send)
  • Deep-merge gateway defaults so new providers appear on existing installs

1.1.0

  • English source strings for WordPress.org i18n
  • Complete fa_IR, en_US, and ar language packs
  • Polylang locale sync and String Translations for button labels
  • readme.txt, license header, and packaging readiness

1.0.8

  • WooCommerce checkout force login / register
  • Gateway and rate-limit improvements

1.0.0

  • Initial release