Yoast\WP\SEO\Conditionals
Development_Conditional{}
Conditional that is only met when in development mode.
Хуков нет.
Использование
$Development_Conditional = new Development_Conditional(); // use class methods
Методы
- public is_met()
Код Development_Conditional{} Development Conditional{} Yoast 23.4
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(); } }