W3cubDocs

/WordPress

apply_filters( ’email_exists’, int|false $user_id, string $email )

Filters whether the given email exists.

Parameters

$user_idint|false
The user ID associated with the email, or false if the email does not exist.
$emailstring
The email to check for existence.

Source

return apply_filters( 'email_exists', $user_id, $email );

Changelog

Version Description
5.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/email_exists