Yoast\WP\SEO\Conditionals

AI_Editor_Conditional::is_term │ private │ Yoast 1.0

Returns true when the page is a term page.

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

Хуков нет.

Возвращает

bool. true when the page is a term page.

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

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

Код AI_Editor_Conditional::is_term() Yoast 28.9

private function is_term() {
	return $this->current_page_helper->get_current_admin_page() === 'term.php';
}