If you are willing to rename the “Book Now” button of the single trip page displayed on the pax selector during the booking process, then WP Travel plugin provides the feature regarding renaming the “Book Now” button in the bottom bar using a filter code.

rename book now button

To rename the “Book Now” button, please add the following given code in the functions.php file of your child theme.

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

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

Output:

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

Get WP Travel Pro