From 7cd2e2afa8697f9242d2e3301100319520caa42a Mon Sep 17 00:00:00 2001 From: timjackleus Date: Wed, 3 Jan 2024 10:29:35 +0100 Subject: [PATCH] fix: indent --- ledyer-checkout-for-woocommerce.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ledyer-checkout-for-woocommerce.php b/ledyer-checkout-for-woocommerce.php index f07764c..2cf8a67 100644 --- a/ledyer-checkout-for-woocommerce.php +++ b/ledyer-checkout-for-woocommerce.php @@ -46,15 +46,15 @@ \define( 'LCO_WC_PLUGIN_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); \define( 'LCO_WC_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) ); - // Declare HPOS compatibility. - add_action( - 'before_woocommerce_init', - function () { - if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { - \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); - } +// Declare HPOS compatibility. +add_action( + 'before_woocommerce_init', + function () { + if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { + \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); } - ); + } +); function ledyer() { return Ledyer_Checkout_For_WooCommerce::instance();