-
-
Save rcstr/03a1b77791bf369f180a7693744d28a2 to your computer and use it in GitHub Desktop.
This is a filter to disable Multi-Currency in WooCommerce Payments. (gives higher priority 💯 to function)
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
<?php // Do not copy this line. | |
// This is a filter to disable Multi-Currency in WooCommerce Payments. | |
add_filter( | |
'pre_option__wcpay_feature_customer_multi_currency', | |
function ( $pre_option, $option, $default ) { | |
return '0'; | |
}, | |
100, | |
3 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment