Yoast_Notification_Center::get_stored_notifications()
Retrieves the stored notifications.
Метод класса: Yoast_Notification_Center{}
Хуков нет.
Возвращает
Массив|false
. Array with notifications or false when not set.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_stored_notifications();
Код Yoast_Notification_Center::get_stored_notifications() Yoast Notification Center::get stored notifications Yoast 22.4
protected function get_stored_notifications() { return get_user_option( self::STORAGE_KEY, get_current_user_id() ); }