WP::init()
Set up the current user.
Method of the class: WP{}
No Hooks.
Return
null
. Nothing.
Usage
global $wp; $wp->init();
Changelog
Since 2.0.0 | Introduced. |
WP::init() WP::init code WP 6.2.2
public function init() { wp_get_current_user(); }