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.

If you have any queries/confusions then please submit them to our Contact page.