Yoast_Notifications::filter_error_notifications │ private static │ Yoast 1.0

Filter out any non-errors.

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

Хуков нет.

Возвращает

bool.

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

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

Код Yoast_Notifications::filter_error_notifications() Yoast 28.9

private static function filter_error_notifications( Yoast_Notification $notification ) {

	return $notification->get_type() === 'error';
}