Yoast\WP\SEO\Conditionals

Robots_Txt_Conditional::is_met()publicYoast 1.0

Returns whether or not this conditional is met.

{} Это метод класса: Robots_Txt_Conditional{}

Хуков нет.

Возвращает

true|false. Whether or not the conditional is met.

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

$Robots_Txt_Conditional = new Robots_Txt_Conditional();
$Robots_Txt_Conditional->is_met();

Код Robots_Txt_Conditional::is_met() Yoast 19.2

public function is_met() {
	return $this->front_end_conditional->is_met() || $this->is_file_editor_page();
}