wpseek.com
A WordPress-centric search engine for devs and theme authors



get_currentuserinfo › WordPress Function

Since0.71
Deprecated4.5.0
get_currentuserinfo ( No parameters )
See:
Returns:
  • (bool|WP_User) False on XMLRPC Request and invalid auth cookie, WP_User instance otherwise.
Defined at:
Codex:

Populate global variables with information about the currently logged in user.



Source

function get_currentuserinfo() {
	_deprecated_function( __FUNCTION__, '4.5.0', 'wp_get_current_user()' );

	return _wp_get_current_user();
}