If you are willing to add Hourly Trips using WP Travel plugin, then don’t worry WP Travel plugin provides the feature regarding adding Hourly Trips simply by using the Filter code.

To rename Days into Hours, please add the following filter given code in the functions.php file of your child theme.

function wp_travel_days_rename( $args ) {
	$args['days'] = __( 'Hours', 'wp-travel' );
	return $args;
add_filter( 'wp_travel_strings', 'wp_travel_days_rename' );

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

Now, Add the duration of the trip as shown in the screenshot below, also make sure the night section is empty while displaying Trips in Hours.

After adding the Filter code:

Also, if you want to learn more about the filter hook that is used to rename fields on the checkout page, 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.