I’d like to limit registration to some of my sites based on the email domain of the user. For example, I only want people with @gmail.com
emails to register.
How would I do this?
I’d like to limit registration to some of my sites based on the email domain of the user. For example, I only want people with @gmail.com
emails to register.
How would I do this?
You must be logged in to post a comment.
You can do it easily by writing a code inside your theme’s functions.php file. here is the code:
Source: https://www.eyeswift.com/allow-registration-from-certain-email-domain-wordpress/
Tough task…
Just written straight out of my head without testing. Give it a try and let us know…