WP Travel plugin provides the feature to rename the text ‘Trip code‘ using a filter on the single trip page as per your requirement.

You can rename the text ‘Trip code‘ by adding the following given code in 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' );

For detail information regarding how to create a child theme, please refer to our Knowledgebase.

rename text trip code

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.

Further, if you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on FacebookInstagram, and Twitter.

Additionally, if you have any queries, please submit them to our Contact page.

create your travel site within minutes by wptravel.io ,buy wptravel pro