This function has been deprecated. Use get_user_by() instead.

get_user_by_email( string $email )

Retrieve user info by email.


Description

See also


Parameters

$email

(Required) User's email address


Return

(bool|object) False on failure, User DB row object


Source

File: wp-includes/pluggable-deprecated.php

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


Changelog

Changelog
Version Description
WP-3.3.0 Use get_user_by()
WP-2.5.0 Introduced. This function has been deprecated. Use get_user_by() instead.