Yoast_Notification_Center::clear_notifications()
Clear local stored notifications.
Метод класса: Yoast_Notification_Center{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->clear_notifications();
Код Yoast_Notification_Center::clear_notifications() Yoast Notification Center::clear notifications Yoast 22.4
private function clear_notifications() { $this->notifications = []; $this->notifications_retrieved = false; }