Yoast\WP\SEO\Conditionals
Premium_Active_Conditional{}
Class Premium_Active_Conditional.
Хуков нет.
Использование
$Premium_Active_Conditional = new Premium_Active_Conditional(); // use class methods
Методы
- public is_met()
Код Premium_Active_Conditional{} Premium Active Conditional{} Yoast 24.0
class Premium_Active_Conditional implements Conditional { /** * Returns whether or not this conditional is met. * * @return bool Whether or not the conditional is met. */ public function is_met() { return \YoastSEO()->helpers->product->is_premium(); } }