Yoast\WP\SEO\General\User_Interface
General_Page_Integration::is_bulk_editor_tour_seen
Gets whether the bulk editor guided tour has been seen by the current user.
Метод класса: General_Page_Integration{}
Хуков нет.
Возвращает
bool. True when the tour has been seen, false otherwise.
Использование
// private - только в коде основоного (родительского) класса $result = $this->is_bulk_editor_tour_seen(): bool;
Код General_Page_Integration::is_bulk_editor_tour_seen() General Page Integration::is bulk editor tour seen Yoast 28.9
private function is_bulk_editor_tour_seen(): bool {
$current_user_id = $this->user_helper->get_current_user_id();
return (bool) $this->user_helper->get_meta( $current_user_id, '_yoast_wpseo_bulk_editor_tour_opt_in_notification_seen', true );
}