Automattic\WooCommerce\Blocks\Domain\Services

FeatureGating::is_development_environment()publicWC 1.0

Checks if we're executing the code in an development environment.

Method of the class: FeatureGating{}

No Hooks.

Return

true|false.

Usage

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

FeatureGating::is_development_environment() code WC 8.7.0

public function is_development_environment() {
	return self::DEVELOPMENT_ENVIRONMENT === $this->environment;
}