WP::init
Set up the current user.
Метод класса: WP{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
global $wp; $wp->init();
Список изменений
| С версии 2.0.0 | Введена. |
Код WP::init() WP::init WP 6.9
public function init() {
wp_get_current_user();
}