WordPress at a glance
function is not described

get_userdatabylogin() WP 0.71

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 login name.

No Hooks.

Return

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

Usage

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

Notes

  • See: get_user_by()

Changelog

Since 0.71 Introduced.
Deprecated Since 3.3.0 Use get_user_by()

Code of get_userdatabylogin() WP 5.5.1

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