Yoast\WP\SEO\Conditionals
Addon_Installation_Conditional{}
Checks if the Addon_Installation constant is set.
Хуков нет.
Использование
$Addon_Installation_Conditional = new Addon_Installation_Conditional(); // use class methods
Методы
- protected get_feature_flag()
Код Addon_Installation_Conditional{} Addon Installation Conditional{} Yoast 22.4
class Addon_Installation_Conditional extends Feature_Flag_Conditional { /** * Returns the name of the feature flag. * 'YOAST_SEO_' is automatically prepended to it and it will be uppercased. * * @return string the name of the feature flag. */ protected function get_feature_flag() { return 'ADDON_INSTALLATION'; } }