Skip to content

Instantly share code, notes, and snippets.

@bradleysa
Created April 22, 2022 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradleysa/43763a979ca13600cc8b9c81f6fbf858 to your computer and use it in GitHub Desktop.
Save bradleysa/43763a979ca13600cc8b9c81f6fbf858 to your computer and use it in GitHub Desktop.
WC: Remove all currency symbols
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