Yoast_Notifications::get_active_notification_count │ public static │ Yoast 1.0

Get the number of active notifications.

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

Хуков нет.

Возвращает

int.

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

$result = Yoast_Notifications::get_active_notification_count();

Код Yoast_Notifications::get_active_notification_count() Yoast 28.9

public static function get_active_notification_count() {

	return ( count( self::$active_errors ) + count( self::$active_warnings ) );
}