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.9.1
public function init() {
wp_get_current_user();
}
Set up the current user.
Method of the class: WP{}
No Hooks.
null. Nothing (null).
global $wp; $wp->init();
| Since 2.0.0 | Introduced. |
public function init() {
wp_get_current_user();
}