WPDev.one
Core Function
View Source on Trac ↗

get_currentuserinfo()

get_currentuserinfo( )

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

Return Value

((bool)
| WP_User) False on XMLRPC Request and invalid auth cookie, WP_User instance otherwise.

Function Information

Since Version
0.71
Source File
wp-includes/pluggable-deprecated.php
Advertisement