Automattic\WooCommerce\Blocks\Domain\Services

FeatureGating::is_experimental_build()publicWC 1.0

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

{} Это метод класса: FeatureGating{}

Хуков нет.

Возвращает

true|false.

Использование

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

Код FeatureGating::is_experimental_build() WC 7.1.0

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