Yoast_Notification_Center::is_notification_persistent()
Checks if given notification is persistent.
Метод класса: Yoast_Notification_Center{}
Хуков нет.
Возвращает
true|false
. True when notification is not persistent.
Использование
// private - только в коде основоного (родительского) класса $result = $this->is_notification_persistent( $notification );
- $notification(Yoast_Notification) (обязательный)
- The notification to check.
Код Yoast_Notification_Center::is_notification_persistent() Yoast Notification Center::is notification persistent Yoast 20.3
private function is_notification_persistent( Yoast_Notification $notification ) { return ! $notification->is_persistent(); }