WPSEO_MyYoast_Api_Request::get_current_user_id()protectedYoast 1.0

Wraps the get current user id function.

Метод класса: WPSEO_MyYoast_Api_Request{}

Хуков нет.

Возвращает

int. The user id.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_current_user_id();

Код WPSEO_MyYoast_Api_Request::get_current_user_id() Yoast 22.4

protected function get_current_user_id() {
	return get_current_user_id();
}