wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_currentuserinfo › WordPress Function

Depuis0.71
Dépréciée4.5.0
get_currentuserinfo ( Pas de paramètres )
Voir:
Retourne:
  • (bool|WP_User) False on XMLRPC Request and invalid auth cookie, WP_User instance otherwise.
Défini(e) dans:
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();
}