WooCommerce Change Currency Symbol

If you want to change your currency symbol you can use the codes below.

add_filter( 'woocommerce_currency_symbol', 'change_currency_symbol', 10, 2 );

function change_currency_symbol( $symbols, $currency ) {
if ( 'TRY' === $currency ) {
return 'TL';
}
return $symbols;
}

Written by Uğur

Leave a Reply

Your email address will not be published. Required fields are marked *