A WordPress-centric search engine for devs and theme authors



get_userdatabylogin ›

Since0.71
Deprecated3.3.0
get_userdatabylogin ( $user_login )
Parameters:
  • (string) $user_login User's username
    Required: Yes
See:
Returns:
  • (bool|object) False on failure, User DB row object
Defined at:
Codex:

Retrieve user info by login name.



Source

function get_userdatabylogin($user_login) {
	_deprecated_function( __FUNCTION__, '3.3.0', "get_user_by('login')" );
	return get_user_by('login', $user_login);
}