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{}

Хуков нет.

Возвращает

null. Ничего.

Использование

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

Код 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();
}