If you are willing to rename the ‘Search’, ‘Trip Type‘, ‘Location‘ labels displaying in the search widget available in WP Travel plugin, please add the following given code in the functions.php file of your child theme.
function customized_strings( $strings ) {
$strings['trip_type'] = __( 'Your Trip type', 'wp-travel' );
$strings['search'] = __( 'Your Text', 'wp-travel' );
$strings['location'] = __( 'Your Location', 'wp-travel' );
return $strings;
}
add_filter( 'wp_travel_search_filter_label_strings', 'customized_strings' );

For detail information regarding how to create a child theme, please refer to our Knowledgebase.
Also, if you want to learn more about the filter hook that is used to rename a field’s name in the search widgets available in the WP Travel plugin, 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 Facebook, Instagram, and Twitter.
Additionally, if you have any queries, please submit them to our Contact page.
