If you are thinking about whether WP Travel plugin provides features regarding renaming default options “Price”, Trip Type”, “Trip Date”, “Location” and “Trip Name” in Filter By section on the Itinerary page or not then, WP Travel plugin includes the feature that allows you to rename default options “Price”, Trip Type”, “Trip Date”, “Location” and “Trip Name” in Filter By section in Itinerary page using filter code.

before adding code to rename default options under Filter section

To rename default options “Price”, “Trip Type”, “Trip Date”, “Location” and “Trip Name” in the Filter section, you have to add the following given filter code in the functions.php file of your child theme.

function customized_fields( $strings ) {
    $strings['price'] = __( 'Your Text Here', 'wp-travel' );
    $strings['trip_type'] = __( 'Your Text Here', 'wp-travel' );
    $strings['location'] = __( 'Your Text Here', 'wp-travel' );
    $strings['trip_date'] = __( 'Your Text Here', 'wp-travel' );
    $strings['trip_name'] = __( 'Your Text Here', 'wp-travel' );
    return $strings;
}
add_filter( 'wp_travel_strings', 'customized_fields' );

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

Output:

after adding code to rename default options under Filter section

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