From 068b6230b3254fbc5d8774b64479ed19214ec6b7 Mon Sep 17 00:00:00 2001 From: Grant Date: Fri, 16 Feb 2024 11:42:11 +0900 Subject: [PATCH] refactor --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 64c1b69..21e5dc7 100755 --- a/index.php +++ b/index.php @@ -11,7 +11,9 @@ add_action('before_woocommerce_init', function() { if (class_exists('\Automattic\WooCommerce\Utilities\FeaturesUtil')) { - \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('cart_checkout_blocks', __FILE__, false); + \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( + 'cart_checkout_blocks', __FILE__, false + ); } }); add_action('plugins_loaded', 'woocommerce_komoju_init', 0);