Yoast\WP\SEO\Bulk_Editor\User_Interface
Bulk_Editor_Integration::is_tour_opt_in_notification_seen
Gets whether the bulk editor guided tour has been seen by the current user.
Метод класса: Bulk_Editor_Integration{}
Хуков нет.
Возвращает
bool. True when the tour has been seen, false otherwise.
Использование
// private - только в коде основоного (родительского) класса $result = $this->is_tour_opt_in_notification_seen(): bool;
Код Bulk_Editor_Integration::is_tour_opt_in_notification_seen() Bulk Editor Integration::is tour opt in notification seen Yoast 28.9
private function is_tour_opt_in_notification_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 );
}