Yoast\WP\SEO\Conditionals

Development_Conditional::is_met()publicYoast 1.0

Returns whether or not this conditional is met.

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

Хуков нет.

Возвращает

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

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

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

Код Development_Conditional::is_met() Yoast 19.11

public function is_met() {
	return WPSEO_Utils::is_development_mode();
}