Is there a wordpress function restrict public email id for registration like as is_email()
If you’re wanting to ensure that the email address contains the “work email” domain, you might be able to use the is_email filter (using the null context will make sure this is the last check in the is_email() function). Let’s assume your work emails are all of the form [email protected]. add_filter( ‘is_email’, ‘wpse_413882_check_domain’, 10, 3 … Read more