Uses
Uses | Description |
---|---|
wp-includes/pluggable.php: wp_get_current_user() | Retrieve the current user object. |
Set up the current user.
File: wp-includes/class-wp.php
public function init() { wp_get_current_user(); }
Version | Description |
---|---|
2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp/init