Yoast_Notification_Center::has_stored_notifications()protectedYoast 1.0

Checks if there are stored notifications.

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

Хуков нет.

Возвращает

true|false. True when there are stored notifications.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->has_stored_notifications();

Код Yoast_Notification_Center::has_stored_notifications() Yoast 22.3

protected function has_stored_notifications() {
	$stored_notifications = $this->get_stored_notifications();

	return ! empty( $stored_notifications );
}