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



get_user_details ›

Since3.0.0
已弃用3.0.0
get_user_details ( $username )
参数:
  • (string) $username Username.
    Required: Yes
查看:
定义在:
文档:
Change Log:
  • MU

Deprecated functionality to retrieve user information.



源码

function get_user_details( $username ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'get_user_by()' );
	return get_user_by('login', $username);
}