Automattic\WooCommerce\Blocks\Domain\Services

FeatureGating::is_experimental_build()publicWC 1.0

Checks if we're executing the code in an experimental build mode.

Method of the class: FeatureGating{}

No Hooks.

Return

true|false.

Usage

$FeatureGating = new FeatureGating();
$FeatureGating->is_experimental_build();

FeatureGating::is_experimental_build() code WC 9.0.1

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