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 8.7.0

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