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

get_user_by_email( string $email )

Retrieve user info by email.


Description Description


Parameters Parameters

$email

(string) (Required) User's email address


Top ↑

Return Return

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


Top ↑

Source Source

File: wp-includes/pluggable-deprecated.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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