How to Change and Customize Currency Symbol in Woocommerce WordPress Store

Опубликовано: 28 Март 2026
на канале: KC Tan
3,691
37

The following are the codes mentioned in the video for reference:
========
/**
Change a currency symbol
*/
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);

function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'SGD': $currency_symbol = 'SGD$'; break;
}
return $currency_symbol;
}
========

More useful tutorials:

============================

Install WordPress on Cloudways (fast & powerful hosting) -    • How to install WordPress on Cloudways (tip...  

Install WordPress on your PC or Mac -    • How To Install WordPress Locally In Your P...  

Detect WordPress security issues -    • How to Detect WordPress Security Issues  

Learn WordPress 2024 theme for Beginners -    • WordPress 6.4 Theme for Beginners (Twenty ...  



Other references:

============================

For WordPress maintenance services - https://webbuddy.sg/pricing-plans/