WP::init()
Set up the current user.
{} It's a method of the class: WP{}
No Hooks.
Return
null
. Nothing.
Usage
global $wp; $wp->init();
Changelog
Since 2.0.0 | Introduced. |
Code of WP::init() WP::init WP 6.0
public function init() { wp_get_current_user(); }