Automattic\WooCommerce\Blocks\Domain\Services

FeatureGating::is_feature_plugin_build()publicWC 1.0

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() WC 6.8.0

public function is_feature_plugin_build() {
	return $this->flag >= self::FEATURE_PLUGIN_FLAG;
}