Skip to content

Commit

Permalink
fix: indent
Browse files Browse the repository at this point in the history
  • Loading branch information
timjackleus committed Jan 3, 2024
1 parent b620b8e commit 7cd2e2a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ledyer-checkout-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7cd2e2a

Please sign in to comment.