Yoast\WP\SEO\Helpers

Notification_Helper::get_sorted_notifications()publicYoast 1.0

Return the notifications sorted on type and priority. (wrapper function)

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

Хуков нет.

Возвращает

Массив|Yoast_Notification[]. Sorted Notifications

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

$Notification_Helper = new Notification_Helper();
$Notification_Helper->get_sorted_notifications();

Код Notification_Helper::get_sorted_notifications() Yoast 24.4

public function get_sorted_notifications() {
	$notification_center = Yoast_Notification_Center::get();

	return $notification_center->get_sorted_notifications();
}