WordPress at a glance
function is not described

get_currentuserinfo() WP 0.71

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

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

  • See: wp_get_current_user()

No Hooks.

Return

true/false/WP_User. False on XMLRPC Request and invalid auth cookie, WP_User instance otherwise.

Usage

get_currentuserinfo();

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

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

	return _wp_get_current_user();
}