Support » Plugin: WP Travel - Best Travel Booking WordPress Plugin, Tour Management Engine » Currency symbols US dollar Symbol “$” change to USD

  • Resolved jartucio


    Hi! i am starting to use this plugin and i have came across a little problem…

    It is confusing for my clients to use the symbol “$” for US dollar because some prices in my local currency (Argentina) use the same symbol “$” so they cannot see the difference.

    Here in general we use the symbol “USD” for the US dollar and “$” for the Argentinian Peso.

    Is there a way to change the US dollar symbol to “USD”?


    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @jartucio,

    First of all thank you very much for using the WP Travel Plugin.

    As for your query, if you want to replace the symbol “$” to USD then you need to go through the child theme.

    To know how you can activate the child theme, please refer to below given link:

    Now, after activating the child theme, add below given code in your child theme functions.php:

    add_filter( 'wp_travel_currency_symbols', function($currency_symbols) {
        $currency_symbols['USD'] = 'USD';
        return $currency_symbols;
    } );

    Hope this helps.

    If you have any issues further then kindly post in our official support forum below:

    Thank you.

    Thread Starter jartucio


    hello @wensolutionsupport ! thanks very much for your answer…

    Well, i tried, but, the problem is, that when i activate the child theme, it resets the configuration of my website to 0. So, it’s really a mess for me to install a new theme.

    I’ll try to post in the other forum, maybe there is another solution.

    Thank you very much again!

    Hello @jartucio,

    If you directly add the code in your parent theme then all of your customizations will be lost upon update to the latest version of the theme.

    So you need to go through the child theme for any changes in your parent theme.

    Also, we do have the code snippet that helps you bring the parent theme setting to the child. Add this block of code in your child theme functions.php.

    function travel_log_child_update_option_vals( $value, $old_value ) {
          update_option( 'theme_mods_' . get_template(), $value );
          return $old_value; // prevent update to child theme mods
    function travel_log_child_customizer_default_vals_update( $default ) {
         return get_option( 'theme_mods_' . get_template(), $default );
    function travel_log_child_customizer_parent_options_import() {
    if ( get_stylesheet() !== get_template() ) {
     add_filter( 'pre_update_option_theme_mods_' . get_stylesheet(), 'travel_log_child_update_option_vals', 10, 2 );
     add_filter( 'pre_option_theme_mods_' . get_stylesheet(), 'travel_log_child_customizer_default_vals_update' );
    add_action('init', 'travel_log_child_customizer_parent_options_import');

    Hope this helps.

    Thank you.

    WEN Solutions


    Ticket closed due to 2 weeks of inactivity

    Closed ticket due to 2 weeks of inactivity.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Currency symbols US dollar Symbol “$” change to USD’ is closed to new replies.