WPSEO_Dismissible_Notification::is_applicable │ protected │ Yoast 1.0

Checks if a notice is applicable.

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

Хуков нет.

Возвращает

bool. Whether a notice should be shown or not.

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

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

Код WPSEO_Dismissible_Notification::is_applicable() Yoast 28.6

protected function is_applicable() {
	return $this->is_notice_dismissed() === false;
}