check email exist or not wordpress

Solutions on MaxInterview for check email exist or not wordpress by the best coders in the world

showing results for - "check email exist or not wordpress"
Belinda
15 May 2018
1$email = 'myemail@example.com';
2$exists = email_exists( $email );
3if ( $exists ) {
4    echo "That E-mail is registered to user number " . $exists;
5} else {
6    echo "That E-mail doesn't belong to any registered users on this site";
7}