Plugin Directory

Changeset 3022697


Ignore:
Timestamp:
01/17/2024 02:01:22 AM (2 years ago)
Author:
caselock
Message:

update hpos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • omega-add-paypal-tracking-for-woocommerce/trunk/omega-add-paypal-tracking.php

    r2758448 r3022697  
    1919define('OMG_PP_FRONTEND_URL', 'https://apps.synctrack.io/add-paypal-tracking/woocommerce/server/get_code.php');
    2020define('OMG_PP_MIN_WC_VERSION', '3.4.0');
     21
     22add_action( 'before_woocommerce_init', function() {
     23    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     24        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     25    }
     26} );
    2127
    2228/**
Note: See TracChangeset for help on using the changeset viewer.