WordPress开发者和主题制作者的搜索引擎



get_user_by_email ›

Since2.5.0
已弃用3.3.0
get_user_by_email ( $email )
参数:
  • (string) $email User's email address
    Required: Yes
查看:
返回:
  • (bool|object) False on failure, User DB row object
定义在:
文档:

Retrieve user info by email.



源码

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