Yoast\WP\SEO\Conditionals\Third_Party

WPML_Conditional::is_met │ public │ Yoast 1.0

Returns whether or not this conditional is met.

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

Хуков нет.

Возвращает

bool. Whether or not the conditional is met.

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

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

Код WPML_Conditional::is_met() Yoast 28.9

public function is_met() {
	return \defined( 'WPML_PLUGIN_FILE' );
}