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.

Метод класса: FeaturesUtil{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of FeaturesUtil::allow_enabling_features_with_incompatible_plugins() WC 7.1.0

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