Warning: This function has been deprecated. Use get_user_by() instead.
get_userdatabylogin( string $user_login )
Retrieve user info by login name.
Description Description
See also See also
Parameters Parameters
- $user_login
-
(string) (Required) User's username
Return Return
(bool|object) False on failure, User DB row object
Source Source
File: wp-includes/pluggable-deprecated.php
function get_userdatabylogin($user_login) { _deprecated_function( __FUNCTION__, '3.3.0', "get_user_by('login')" ); return get_user_by('login', $user_login); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Use get_user_by() |
0.71 | Introduced. |