If you want to rename the labels in WP Travel Filter Widget then, WP Travel plugin provides the feature which allows you to modify the labels available in WP Travel Filter widget using filter code as per your requirement.

rename label in filter widget

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

function customized_strings( $strings ) {
 $strings['trip_type'] = __( 'Your Trip type', 'wp-travel' );
 $strings['trip_duration'] = __( 'Your Trip duration', 'wp-travel' );
 $strings['location'] = __( 'Your Location', 'wp-travel' );
 $strings['keyword'] = __( 'Your keyword', 'wp-travel' );
 $strings['price_range'] = __( 'Your price range', 'wp-travel' );
 $strings['fact'] = __( 'Your fact', 'wp-travel' );
 $strings['price'] = __( 'Your price', 'wp-travel' );
    return $strings;
}
add_filter( 'wp_travel_strings', 'customized_strings' );

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

Rename labels in Filter Widget:

rename label in filter widget

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.

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/confusion then please submit them to our Contact page.

create your travel site within minutes by wptravel.io ,buy wptravel pro