If you want to rename the ‘From’ and ‘To’ label under Trip Duration in the WP Travel filter widget then worry not, WP Travel plugin provides the feature regarding renaming ‘From’ and ‘To’ label under Trip Duration in WP Travel filter widget using filter code as per your requirement.

To rename the above-mentioned labels, you have to add the following given code in the functions.php file of your child theme.
function wp_travel_customized_strings( $fields ) {
if ( isset( $fields['trip_dates']['default'][0]['label'] ) ) {
$fields['trip_dates']['default'][0]['label'] = 'your from label';
}
if ( isset( $fields['trip_dates']['default'][1]['label'] ) ) {
$fields['trip_dates']['default'][1]['label'] = 'your to label';
}
return $fields;
}
add_filter( 'wp_travel_search_filter_widget_form_fields', 'wp_travel_customized_strings' );
For detailed assistance regarding creating a child theme, please refer link.
Rename labels ‘From’ & ‘To’:

Also, if you are thinking to remove the End Date (To section) in the filter widget under Trip Duration then worry not, WP Travel plugin provides the feature regarding removing the End Date (To section) section in the filter widget under Trip Duration using filter code.
To remove the End Date (To section) section, you have to add the following given code in the functions.php file of your child theme.
function wptravel_customized_show_end_date_fields()
{
return false;
}
add_filter( 'wp_travel_booking_show_end_date', 'wptravel_customized_show_end_date_fields' );
Remove label ‘To’:

Also, if you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Facebook, Instagram, and Twitter.
Further, if you have any queries/confusion then please submit them to our Contact page.