To change the default trip code that is generated by the plugin you can use the  filter given below:

wp_travel_trip_code

To execute this you need to activate the child theme. You can create the child theme manually or simply create the child theme using the plugin given below:

After activating the child theme in your child theme functions.php add the below-given code.

add_action( 'init', function() {
   function wp_travel_child_change_trip_code( $code, $trip_id ) {
        return 'YOUR TRIP CODE  ' . $trip_id;
   }
   add_filter( 'wp_travel_trip_code','wp_travel_child_change_trip_code', 10, 2);
} );

Here replace ‘YOUR TRIP CODE” with your trip code. Each trip will have the unique id behind it but will have the same code that you enter here.

Also, 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.

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