email_exists

FUNCTION wp-includes\user.php (ligne 2070) github
Filters whether the given username exists.

Paramètres

Entrée :
$email
Sortie :
@param int|false $user_id  The user ID associated with the username,
@param string    $username The username to check for existence.
@param string $email The email to check for existence.
@return int|false The user ID on success, false on failure.

Utilisation

// Utilisation de la fonction email_exists
$result = email_exists($email);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...