Yoast\WP\SEO\Conditionals

Premium_Active_Conditional::is_met()publicYoast 1.0

Returns whether or not this conditional is met.

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

Хуков нет.

Возвращает

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

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

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

Код Premium_Active_Conditional::is_met() Yoast 19.7.1

public function is_met() {
	return \YoastSEO()->helpers->product->is_premium();
}