Yoast\WP\SEO\Conditionals
Development_Conditional{} Yoast 1.0
Conditional that is only met when in development mode.
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Development_Conditional = new Development_Conditional(); // use class methods
Методы
Код Development_Conditional{} Development Conditional{} Yoast 15.6.2
class Development_Conditional implements Conditional {
/**
* Returns whether or not this conditional is met.
*
* @return boolean Whether or not the conditional is met.
*/
public function is_met() {
return WPSEO_Utils::is_development_mode();
}
}