Yoast_Notifications::filter_dismissed_notifications()private staticYoast 1.0

Filter out any dismissed notifications.

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

Хуков нет.

Возвращает

true|false.

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

$result = Yoast_Notifications::filter_dismissed_notifications( $notification );
$notification(Yoast_Notification) (обязательный)
Notification to test.

Код Yoast_Notifications::filter_dismissed_notifications() Yoast 19.7.1

private static function filter_dismissed_notifications( Yoast_Notification $notification ) {

	return Yoast_Notification_Center::is_notification_dismissed( $notification );
}