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.
Метод класса: FeaturesUtil{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = FeaturesUtil::allow_activating_plugins_with_incompatible_features(): void;
Код FeaturesUtil::allow_activating_plugins_with_incompatible_features() FeaturesUtil::allow activating plugins with incompatible features 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(); }