Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check email exist or not wordpress

$email = 'myemail@example.com';
$exists = email_exists( $email );
if ( $exists ) {
    echo "That E-mail is registered to user number " . $exists;
} else {
    echo "That E-mail doesn't belong to any registered users on this site";
}
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #check #email #exist #wordpress
ADD COMMENT
Topic
Name
6+3 =