WP::init() public WP 2.0.0
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 5.7
public function init() {
wp_get_current_user();
}