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 8.9.3

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