WordPress at a glance
function is not described

get_user_by_email() WP 2.5.0

Deprecated in 3.3.0. It is no longer supported and can be removed in future releases. Use get_user_by() instead.

Retrieve user info by email.

  • See: get_user_by()

No Hooks.


true/false/Object. False on failure, User DB row object


get_user_by_email( $email );
$email(string) (required)
User's email address

Code of get user by email: wp-includes/pluggable-deprecated.php WP 5.2.2

function get_user_by_email($email) {
	_deprecated_function( __FUNCTION__, '3.3.0', "get_user_by('email')" );
	return get_user_by('email', $email);