Uses
Uses | Description |
---|---|
wp-includes/user.php: _wp_get_current_user() | Retrieves the current user object. |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use wp_get_current_user() instead.
Populate global variables with information about the currently logged in user.
(bool|WP_User) False on XMLRPC Request and invalid auth cookie, WP_User instance otherwise.
File: wp-includes/pluggable-deprecated.php
function get_currentuserinfo() { _deprecated_function( __FUNCTION__, '4.5.0', 'wp_get_current_user()' ); return _wp_get_current_user(); }
Version | Description |
---|---|
4.5.0 | Use wp_get_current_user() |
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_currentuserinfo