If you are willing to change currency symbol ($) to currency code then WP Travel plugin provides the feature regarding changing currency symbol to currency code using the filter code.



You can change the currency symbol to currency code by adding the following given code(we have provided code for USD) in the functions.php file of your child theme.
function customized_currency_names( $currency_symbols ) {
$currency_symbols['USD'] = 'currency code';
return $currency_symbols;
}
add_filter( 'wp_travel_currency_symbols', 'customized_currency_names' );
Also, you can change the currency symbol to the currency code for other currencies too by replacing the currency symbol [‘USD’] with the currency symbol whose currency symbol needs to be changed.
For detail information regarding how to create a child theme, please refer to our Knowledgebase.



Also, if you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Facebook, Instagram, and Twitter.
Further, if you have any queries, please submit them to our Contact page.