• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Add email confirmation to Restrict Content Pro checkout

Discover with this tutorial how to add an email confirmation field on the Restrict Content Pro registration page with a code snippet.

Restrict Content Pro is one of the most popular plugins for creating memberships. Modifying the registration or checkout page is usually one of the most common requests, that’s why I have already published several tutorials to simplify your checkout page.

  • Create minimalistic checkout for Restrict Content Pro
  • How to simplify a registration form
  • How to remove required fields from the form

Although I recommend to have the minimum number of fields possible to improve conversion, it is also true that in memberships with many subscribers many support tickets arrive because they have entered the email address incorrectly.

Therefore, in this tutorial we are going to see how you can add an email confirmation field and display a message in case the two emails entered do not match.

Let’s get started.

Steps to add an email confirmation field in the Restrict Content Pro registration form

1. Remove the username field and add the email confirmation field

Add the following snippet to the functions.php file:

To see this and another 1097 code snippets of this website, login or subscribe here.

With this snippet you accomplish several things:

  1. Add an email confirmation field.
  2. Check that the two emails entered are the same and, if they are not, display a warning.
  3. Remove the username field (the email will be used instead).

You can modify both the text displayed in the confirmation field and the message you want to be displayed in case the emails are not identical.

2. Give styles to the registration page

Add the following snippet to the end of the style.css file:

To see this and another 1097 code snippets of this website, login or subscribe here.

With these CSS lines you get to hide the username field.

Conclusion

Now you know how to add an email confirmation field in the Restrict Content Pro registration form with a few lines of code.

Any questions? I read you in the comments.

And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉

CSS PHP Restrict Content Pro

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2026

close-icon

Lost your password?