Yoast\WP\SEO\Integrations\Watchers
Auto_Update_Watcher::maybe_remove_notification() protected Yoast 1.0
Removes the notification from the notification center, if it exists.
{} Это метод класса: Auto_Update_Watcher{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->maybe_remove_notification();
Код Auto_Update_Watcher::maybe_remove_notification() Auto Update Watcher::maybe remove notification Yoast 16.1.1
protected function maybe_remove_notification() {
$this->notification_center->remove_notification_by_id( self::NOTIFICATION_ID );
}