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