Only allowing some emails to create an account [closed]
Just copy the above code and paste it into your theme’s functions.php file. Here I am going to show you the code which will reject registration from all others domain’s email addresses and Only allowing @uniname.ac.uk email addresses to create an account. See the code below function is_valid_email_domain($login, $email, $errors ){ $valid_email_domain = array(“uniname.ac.uk”); $valid … Read more