Yoast\WP\SEO\Helpers

Indexing_Helper::remove_indexing_notification()protectedYoast 1.0

Removes any pre-existing notification, so that a new notification (with a possible new reason) can be added.

Метод класса: Indexing_Helper{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->remove_indexing_notification();

Код Indexing_Helper::remove_indexing_notification() Yoast 22.4

protected function remove_indexing_notification() {
	$this->notification_center->remove_notification_by_id(
		Indexing_Notification_Integration::NOTIFICATION_ID
	);
}