Yoast_Notification_Center::filter_persistent_notifications()
Filter out non-persistent notifications.
Метод класса: Yoast_Notification_Center{}
Хуков нет.
Возвращает
true|false
.
Использование
// private - только в коде основоного (родительского) класса $result = $this->filter_persistent_notifications( $notification );
- $notification(Yoast_Notification) (обязательный)
- Notification to test for persistent.
Список изменений
С версии 3.2 | Введена. |
Код Yoast_Notification_Center::filter_persistent_notifications() Yoast Notification Center::filter persistent notifications Yoast 22.3
private function filter_persistent_notifications( Yoast_Notification $notification ) { return $notification->is_persistent(); }