If your community platform features age-restricted content or products, ensuring your registrants meet legal age requirements is critical for compliance. WP Member Check enhances Ultimate Member’s datepicker to enforce strict age gates automatically during signup.
🔞 How the Age Gate Works
Instead of just collecting a user’s date of birth as metadata, WP Member Check intercepts the registration form in real-time.
Our engine calculates the exact difference between the date entered by the user and the current day. If the calculated age is lower than your required threshold:
- The registration process is immediately halted.
- An error message is displayed informing the user they do not meet the age requirement.
- No user profile is created in your database, keeping your ecosystem compliant and safe.
⚙️ Setting up Legal Age Verification
To activate and enforce age verification on your registration forms, follow these steps:
📅 Step 1: Check your Ultimate Member Birthdate Field
Before enabling the restriction in our plugin, you must target the correct field inside Ultimate Member:
- Navigate to Ultimate Member > Forms and edit your Registration Form.
- Ensure you have added a Date / Birthdate field.
- Edit the field, look for its Meta Key (e.g.,
birth_date), and copy it exactly.
⚙️ Step 2: Enforce the Age Gate in WP Member Check
- Navigate to your WordPress Admin Dashboard > WP Member Check > Settings.
- Stay on the main General tab.
- Scroll to the Age Verification section.
- Toggle the Enforce Minimum Age switch to ON.
- In the Minimum Allowed Age field, enter your required limit (e.g.,
18). - Paste your previously copied Meta Key into the Birthdate Meta Key Mapping field.
- Click Save Settings.
🔞 How it behaves on the front-end
When a user submits the form, our engine calculates the exact difference between the date entered and the current day. If the user is underage, the registration is instantly blocked and an error message is displayed. No account is created in your database.
🌍 Translation & Customization Notice
- Error Phrasing: The standard age restriction error message is fully internationalized. If you need to translate or adjust the wording for your specific audience, you can safely update the plugin’s language files (
.pot) using translation software like Loco Translate.