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

get_user_by_email ( string $email )

Retrieve user info by email.

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

Source file: wp-includes/pluggable-deprecated.php

View source


Parameters

$email

(string) (Required) User's email address


Used by


Source

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

Changelog


User Contributed Notes

You must log in before being able to contribute a note.