Displaying prices clearly in WP Travel is important for any travel booking website, especially when customers come from different countries. A currency symbol like β$β can create confusion because it is used by multiple currencies, such as USD, AUD, and CAD, making it unclear which currency the price actually represents.
In this guide, youβll learn how to change the currency symbol to the currency code in WP Travel and make your pricing display clearer and more professional.
How to Change Currency Symbol to Currency Code in WP Travel?
Change the currency symbol to a currency code in WP Travel by adding a custom code snippet to your child themeβs functions.php file. This method helps you change the currency format from a symbol like $ to clear text such as USD, making prices easier to understand for international customers.
Step 1 – Go to WP Travel Currency Settings:
First, log in to your WordPress dashboard. Then go to: WP Travel β Settings β General β Currency. Select your preferred currency, such as the United States Dollar ($). After selecting the currency, save your settings.

Note: If your preferred currency is not available in the currency dropdown, you can learn how to add a new currency in WP Travel before changing the currency symbol to a currency code.
Step 2 – Check the Currency Symbol on the Frontend:
Now visit your trip page or booking page to check how the price appears. By default, WP Travel display the selected currency using the currency symbol. For example, if you selected the United States Dollar, the price appears with the $ symbol.

Step 3 – Add the Custom Code Snippet:
To replace the currency symbol with the currency code, add the following code snippet to your child themeβs functions.php file.
function customized_currency_names( $currency_symbols ) {
$currency_symbols['USD'] = 'currency code';
return $currency_symbols;
}
add_filter( 'wp_travel_currency_symbols', 'customized_currency_names' );
In the example above, we used: $currency_symbols[‘USD’] = ‘currency code’;
You can replace the currency code with any text you want to display.
For example, to show USD, use: $currency_symbols[‘USD’] = ‘USD’;
For detailed information regarding how to create a child theme, please refer to ourΒ Knowledgebase.
Step 4 – Select the Updated Currency Option:
After adding the code, return to: WP Travel β Settings β General β Currency. Open the currency dropdown again. Now, you should see the updated currency option as: United States Dollar (currency code). Select this option and save the settings.


You may also read: How to Display Currency Name Instead of Symbol in WP Travel?
Conclusion
Changing the currency symbol to a currency code in WP Travel helps make your pricing clearer and more professional. By adding a simple code snippet, you can replace the default currency symbol with custom text such as currency code, USD, EUR, GBP, or any other currency code you want to display.
Check the WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.
Your feedback helps us improve. Feel free to share your thoughts!
Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.
You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.
If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

WP Travel Editorial is a team of WordPress and travel industry experts dedicated to delivering technical resources, travel business guides, and general travel insights. With over 10 years of experience, the team provides in-depth release notes, feature updates, and informative articles to help tour operators and travel enthusiasts succeed in the evolving travel landscape.
From plugin updates and industry trends to practical travel resources, WP Travel Editorial shares valuable content that supports both the travel industry and avid travelers.




