Yoast\WP\SEO\Conditionals
AI_Editor_Conditional::is_term
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() AI Editor Conditional::is term Yoast 28.9
private function is_term() {
return $this->current_page_helper->get_current_admin_page() === 'term.php';
}