WordPress at a glance
function is not described

get_user_by_email() WP 2.5.0

Deprecated from version 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.

No Hooks.

Return

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

Usage

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

Notes

  • See: get_user_by()

Changelog

Since 2.5.0 Introduced.
Deprecated Since 3.3.0 Use get_user_by()

Code of get_user_by_email() WP 5.7.2

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