Created
April 22, 2022 07:37
-
-
Save bradleysa/43763a979ca13600cc8b9c81f6fbf858 to your computer and use it in GitHub Desktop.
WC: Remove all currency symbols
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
function sww_remove_wc_currency_symbols( $currency_symbol, $currency ) { | |
$currency_symbol = ''; | |
return $currency_symbol; | |
} | |
add_filter('woocommerce_currency_symbol', 'sww_remove_wc_currency_symbols', 10, 2); | |
/** Source: https://jilt.com/blog/pricing-remove-currency-symbol/ **/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment