Last active
February 14, 2024 11:15
-
-
Save jessepearson/0a4a2da18bdeef20b80b50ff0e727c61 to your computer and use it in GitHub Desktop.
Revisions
-
jessepearson renamed this gist
Aug 16, 2021 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ <?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 ) { -
jessepearson created this gist
Aug 16, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ add_filter( 'pre_option__wcpay_feature_customer_multi_currency', function ( $pre_option, $option, $default ) { return '0'; }, 10, 3 );