WP Travel plugin allows you to easily rename the βTrip codeβ label on the single trip page using a simple filter. This feature is especially useful if you want to personalize the terminology to better match your brand or user preferences.

To rename the text βTrip codeβ, simply add the following code to the functions.php file of your child theme:
function wp_travel_customized_trip_code_label( $strings ) {
$strings['trip_code'] = 'Your trip code';
return $strings;
}
add_filter( 'wp_travel_strings', 'wp_travel_customized_trip_code_label' );
ou can change 'Your trip code' to any label you prefer, such as 'Tour ID', 'Booking Code', etc.
If you’re unfamiliar with how to create a child theme, weβve got you covered. Follow this guide to create a child theme

Also, if you want to learn more about the filter hook that is used to rename the strings available in the WP Travel plugin, please once refer specific hook page.
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.






