Yoast\WP\SEO\Alerts\Application\Ping_Other_Admins

Ping_Other_Admins_Alert::has_notification_been_resolved │ private │ Yoast 1.0

Returns whether the alert has been resolved before.

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

Хуков нет.

Возвращает

bool. Whether the alert has been resolved before.

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

// private - только в коде основоного (родительского) класса
$result = $this->has_notification_been_resolved(): bool;

Код Ping_Other_Admins_Alert::has_notification_been_resolved() Yoast 28.9

private function has_notification_been_resolved(): bool {
	return $this->user_helper->get_meta( \get_current_user_id(), self::NOTIFICATION_ID . '_resolved', true ) === '1';
}