Created
December 4, 2019 14:47
-
-
Save eksiscloud/201391ea1c1b74176aa12acdb861e1f3 to your computer and use it in GitHub Desktop.
Woocommerce: Remove euro symbol without CSS
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 eksis_remove_wc_currency_symbol( $currency_symbol, $currency ) { | |
if (!is_cart()){ | |
$currency_symbol = ''; | |
return $currency_symbol; | |
} | |
} | |
add_filter('woocommerce_currency_symbol', 'eksis_remove_wc_currency_symbol', 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment