If you are willing to rename the Book Now button on a single Itinerary page then the WP Travel plugin provides the feature regarding renaming the Book Now button on a single Itinerary page using the filter code as per your requirement.

You might be interested: How to Enable or Disable the Book Now Button?

Steps to Rename Book Now button on Single Trip page

Step 1: Add the given code in functions.php

book now button

To rename the Book Now button, you have to add the following code in the functions.php file of your child theme.

function wp_travel_customized_strings( $strings ){
   $strings['featured_book_now'] = __( 'Your Text here' , 'wp-travel' );
   return $strings;
}
add_filter( 'wp_travel_strings', 'wp_travel_customized_strings' );

Note: This hook will not work if you have enabled Add to cart feature

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

Step 2: Rename Book Now button

rename book now button

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 refer specific hook page.

Conclusion

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.

Get WP Travel Pro