Yoast\WP\SEO\Conditionals

Development_Conditional{}Yoast 1.0

Conditional that is only met when in development mode.

Хуков нет.

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

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

Методы

  1. public is_met()

Код Development_Conditional{} Yoast 19.2

class Development_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 WPSEO_Utils::is_development_mode();
	}
}