Automattic\WooCommerce\Utilities

FeaturesUtil::allow_enabling_features_with_incompatible_plugins()public staticWC 1.0

Sets a flag indicating that it's allowed to enable features for which incompatible plugins are active from the WooCommerce feature settings page.

Method of the class: FeaturesUtil{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = FeaturesUtil::allow_enabling_features_with_incompatible_plugins(): void;

FeaturesUtil::allow_enabling_features_with_incompatible_plugins() code WC 8.9.0

public static function allow_enabling_features_with_incompatible_plugins(): void {
	wc_get_container()->get( FeaturesController::class )->allow_enabling_features_with_incompatible_plugins();
}