Automattic\WooCommerce\Utilities
FeaturesUtil::allow_activating_plugins_with_incompatible_features()
Sets a flag indicating that it's allowed to activate plugins for which incompatible features are enabled from the WordPress plugins page.
Method of the class: FeaturesUtil{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = FeaturesUtil::allow_activating_plugins_with_incompatible_features(): void;
FeaturesUtil::allow_activating_plugins_with_incompatible_features() FeaturesUtil::allow activating plugins with incompatible features code WC 9.4.2
public static function allow_activating_plugins_with_incompatible_features(): void { wc_get_container()->get( FeaturesController::class )->allow_activating_plugins_with_incompatible_features(); }