WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
класс не описан

Yoast\WP\SEO\Conditionals

Premium_Inactive_Conditional{} Yoast 1.0

Abstract class for creating conditionals based on feature flags.

Хуков нет.

Возвращает

null. Ничего.

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

$Premium_Inactive_Conditional = new Premium_Inactive_Conditional();
// use class methods

Методы

  1. is_met()

Код Premium_Inactive_Conditional{} Yoast 17.2

class Premium_Inactive_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();
	}
}