WordPress Registration Form Plugin (CMREG) - Extra - Age Verification
Age Verification
The WordPress Registration Form plugin supports age verification. This is useful for websites with age-sensitive content.
Settings
To edit it, head to CM Registration Pro → Settings → Registration.
![Registration settings - WordPress Plugin User Registration](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5a58daa72c7d3a1943682f1a/file-riHphntKrb.png)
Move to the Age Verification header:
![Age verification settings - User Registration WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5a58dae82c7d3a1943682f1d/file-rTSiqXmg37.png)
- Meta key of the birth date field - Save this key, as it will make the age verification work. By default, it's cmreg_birth_date.
- Minimum allowed age - Choosing "0" will turn age verification off.
Adding Age Verification To The Registration Form
Now that the age verification is set up, you must add it a date field with age check to the profile field.
To do this, head to CM Registration Pro → Profile Fields.
![Adding the age verification field to the registration form - WordPress Login Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5a58dfa9042863193800ef97/file-zNzvkjKqQd.png)
Insert a Date Field, as highlighted above.
Also make sure that:
- The User Meta Key value is the same as the one set up in the age settings (by default it's cmreg_birth_date).
- The field is marked as required.
- The field is set to show in the Registration Form.
In The Front-End
If the user states being younger than allowed, he/she will receive the following message:
![Age verification message on the front-end - WordPress Custom Login Form](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5a58dd80042863193800ef82/file-4RZ1UCxkSx.png)
![]() |
More information about the WordPress Registration Form Plugin Other WordPress products can be found at CreativeMinds WordPress Store |
![]() |
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |