WordPress at a glance
функция не описана

get_user_by_email() WP 2.5.0

Deprecated in 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.

Хуков нет.

Возвращает

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

Использование

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

Заметки

  • See: get_user_by()

Changelog

Since 2.5.0 Introduced.
Deprecated Since 3.3.0 Use get_user_by()

Код get_user_by_email() WP 5.5.1

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