by jayarsiech on WordPress.org
All-in-One Mobile OTP Login, Registration & Content Restriction plugin. Supports SMS, Email, Google, Digits & WooCommerce with Inline Forms.

Developed with ❤️ in Iran. 🇮🇷
JAY Login & Register is not just a login plugin; it is a complete authentication and access control ecosystem for WordPress.
While it creates a seamless Mobile OTP (One-Time Password) login and registration flow compatible with Digits, its true power lies in its Advanced Content Restriction capabilities. Whether you are selling courses, running a membership site, or simply want to grow your user base, JAY allows you to lock specific parts of your content and unlock them effortlessly via an inline AJAX form or smart redirects.
Why JAY Login & Register?
* Performance Optimized: Built-in smart HTML Minifier automatically compresses shortcode output and AJAX responses, removing unnecessary whitespace to ensure perfect layout compatibility with all themes.
* **Beyond Basic Login: Don’t just verify users; engage them. Lock exclusive content inside your blog posts and reveal it instantly after a quick SMS/Email verification.
* Editor Friendly: Now featuring a native Gutenberg Container Block and smart Classic Editor buttons for protecting content without coding.
* Maximum Compatibility: Works perfectly with Gravity Forms (includes a dedicated OTP field Addon), Elementor, and WooCommerce, ensuring scripts load correctly even after AJAX login.
Transform how users interact with their profiles. We have added a powerful Drag & Drop Form Builder for the user panel:
* Custom Fields: Create unlimited fields (Text, Select, Radio, Checkbox, Date).
* Smart Conditional Logic (The Killer Feature):
* Server-Side Logic: Show/Hide fields based on existing User Meta keys (e.g., show “Vendor Settings” only if the user has the ‘is_vendor’ meta).
* Client-Side Logic: Show/Hide fields instantly based on other fields’ values (e.g., show “Military Service Status” only if “Gender” is “Male”).
* Supports complex AND/OR logic groups.
* Native Avatar Upload: Users can upload profile pictures directly to the WordPress Media Library (compatible with standard WordPress functions like get_avatar).
* Jalali Date Picker: Full support for Persian dates in profile fields.
* Secure Validation: All conditional logic is re-validated on the server to prevent tampering via Inspect Element.
We’ve built a native Add-on for Gravity Forms! You can now verify user phone numbers directly inside any Gravity Form before submission.
* Native Field: Adds a dedicated “JAY Mobile Verification” field to the Gravity Forms editor.
* Seamless AJAX Validation: Verifies the OTP code via AJAX without breaking the form’s natural flow.
* Auto-Login: Optionally log in or register the user automatically upon successful form submission.
* Anti-Fraud Security: Fully connected to JAY’s global IP and Phone number Lockout system to prevent SMS bombing on your forms.
[jay_content_lock] shortcode to restrict access to portions of your content within posts and pages, independent of the full-page meta box settings. Choose between two modes:
Enhanced Editor Experience (New):
Custom Fields Builder: Easily add unlimited custom fields to your registration form directly from the settings. Supports:
Core Login & Registration Features
Smart Login & Registration: Automatically detects if a user’s mobile number is new (directing to registration) or existing (directing to login).
Digits Plugin Compatibility: Seamlessly recognizes and logs in users previously registered with the Digits plugin.
Optional Identity Verification: Enable or disable the requirement for users to provide a National ID or Passport number during registration, with built-in duplicate ID prevention. The system intelligently asks for this information only once.
Password & Phone Management: Logged-in users can easily change their registered mobile number or update their password through a dedicated shortcode.
Profile Details: Option to enable “First Name” and “Last Name” fields in the final registration step to collect user details.
Advanced Security & Anti-Fraud
Multiple CAPTCHA Options: Choose from four levels of protection to prevent bot attacks:
Disabled: No CAPTCHA.
Simple Math CAPTCHA: A basic math question (addition, subtraction, multiplication, division).
Invisible Honeypot: An invisible security trap for bots that doesn’t interrupt the user experience.
Google reCAPTCHA v3 (Recommended): The most secure, invisible option to intelligently identify bots without user friction.
melipayamak
Voice OTP Support: In addition to SMS, deliver verification codes via automated voice calls using the Kavenegar gateway.
Advanced Email & SMTP Features
Advanced Brute-Force Protection:
Protect against OTP and CAPTCHA guessing attacks with configurable settings for:
Maximum failed attempts.
Blocking method (by phone number, IP address, or both).
Hide wp-login.php: Secure your site by completely hiding the default WordPress login page and redirecting all access to your custom login page.
Powerful Admin & User Management
Customizable User Columns: Take full control of the “Users” table in the admin area:
Adds sortable “Mobile Number” and “Jalali Registration Date” columns.
Powerful Content & Access Control
Content Protection Meta Box: A powerful meta box on the post/page editor allows you to restrict access to content based on:
Whether the user is logged in.
This plugin connects to third-party services to provide its full range of features. These are optional and only active when configured by the site administrator.
Bale (Safir OTP Service)
iPPanel (and related gateways)
Kavenegar
SMS.ir
MeliPayamak
Google reCAPTCHA v3
Service: Google Identity Services (Sign in with Google)
Eitaa WebApp API
Service: RayganSMS