WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта с помощью браузерных PUSH уведомлений
функция не описана

Yoast\WP\SEO\Actions

Alert_Dismissal_Action::all_dismissed() public Yoast 1.0

Returns an object with all alerts dismissed by current user.

{} Это метод класса: Alert_Dismissal_Action{}

Хуков нет.

Возвращает

Массив. An array with the keys of all Alerts that have been dismissed by the current user.

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

$Alert_Dismissal_Action = new Alert_Dismissal_Action();
$Alert_Dismissal_Action->all_dismissed();

Код Alert_Dismissal_Action::all_dismissed() Yoast 16.1.1

<?php
public function all_dismissed() {
	$user_id = $this->user->get_current_user_id();
	if ( $user_id === 0 ) {
		return false;
	}

	$dismissed_alerts = $this->get_dismissed_alerts( $user_id );
	if ( $dismissed_alerts === false ) {
		return false;
	}

	return $dismissed_alerts;
}