wpseek.com
A WordPress-centric search engine for devs and theme authors



get_user_by_email › WordPress Function

Since2.5.0
Deprecated3.3.0
get_user_by_email ( $email )
Parameters:
  • (string) $email User's email address
    Required: Yes
See:
Returns:
  • (bool|object) False on failure, User DB row object
Defined at:
Codex:

Retrieve user info by email.



Source

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