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.

Check the WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.

Your feedback helps us improve. Feel free to share your thoughts!

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.

You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.

If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

Get WP Travel Pro