Created
October 19, 2023 15:11
-
-
Save xlplugins/79931bf94dbe628e87d30317a4adadae to your computer and use it in GitHub Desktop.
BUMp:Disable country based pricing compatibility file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'woocommerce_after_calculate_totals', function () { | |
if ( ! class_exists( 'WFOB_Product_Price_Based_Country' ) ) { | |
return; | |
} | |
WFOB_Common::remove_actions( 'wfob_product_raw_data', 'WFOB_Product_Price_Based_Country', 'change_price_data' ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment