WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Domain\Services

FeatureGating::get_environment() public WC 1.0

Returns the current environment value.

{} It's a method of the class: FeatureGating{}

No Hooks.

Return

String.

Usage

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

Code of FeatureGating::get_environment() WC 5.9.0

public function get_environment() {
	return $this->environment;
}