Automattic\WooCommerce\Blocks\Domain\Services
FeatureGating::is_feature_plugin_build()
Checks if we're executing the code in an feature plugin or experimental build mode.
Метод класса: FeatureGating{}
Хуков нет.
Возвращает
true|false
.
Использование
$FeatureGating = new FeatureGating(); $FeatureGating->is_feature_plugin_build();
Код FeatureGating::is_feature_plugin_build() FeatureGating::is feature plugin build WC 7.5.1
public function is_feature_plugin_build() { return $this->flag >= self::FEATURE_PLUGIN_FLAG; }