Automattic\WooCommerce\Internal\VariationGallery

Package::is_in_canary_cohort │ public static │ WC 1.0

Deprecated since 1.1.0. It is no longer supported and may be removed in future releases. Use Package::is_enabled() instead.

Whether the current store is in the former canary cohort.

Method of the class: Package{}

No Hooks.

Returns

bool.

Usage

$result = Package::is_in_canary_cohort(): bool;

Changelog

Deprecated since 11.1.0 Use Package::is_enabled() instead.

Package::is_in_canary_cohort() code WC 11.1.2

public static function is_in_canary_cohort(): bool {
	wc_deprecated_function( __METHOD__, '11.1.0', __CLASS__ . '::is_enabled' );
	return self::is_enabled();
}