WordPress at a glance
function is not described

get_userdatabylogin() WP 0.71

Deprecated in 3.3.0. It is no longer supported and can be removed in future releases. Use get_user_by() instead.

Retrieve user info by login name.

  • See: get_user_by()

No Hooks.


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


get_userdatabylogin( $user_login );
$user_login(string) (required)
User's username

Code of get userdatabylogin: wp-includes/pluggable-deprecated.php VER 5.1.1

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