Created
August 29, 2024 09:14
-
-
Save hslaszlo/ed72884c3d9f6aedbf4388479b6921a9 to your computer and use it in GitHub Desktop.
Woo remove Customer matched zone notification
This file contains hidden or 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
<?php | |
// WooCommerce > Settings > Shipping > Shipping Options -> Debug Mode | |
// For some reason (probably a plugin conflict), the woocommerce_shipping_debug_mode option would consistently recheck itself | |
add_action( 'admin_init', 'override_shipping_debug'); | |
function override_shipping_debug(){ | |
update_option('woocommerce_shipping_debug_mode','no'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment