If you are thinking if WP Travel plugin provides a feature to rename “From” text before price on the Single Trip page then, of course, the WP Travel plugin includes the feature that allows you to rename “From” text before price on the Single Trip page using Filter code as per your requirement.

rename From before price

You have to add the following given code in the functions.php file of your child theme to rename the “From” text on the Single Trip page.

function wp_travel_customized_strings( $strings ) {
    $strings['from'] = __( 'Your text here' , 'wp-travel' );
    return $strings;
}
add_filter( 'wp_travel_strings', 'wp_travel_customized_strings' );

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

Rename “From” text:

rename From before price

Further, if you are curious about removing From from the Single Trip page then worry not, WP Travel plugin also includes a feature that allows you to remove” From” on the Single Trip page using Filter code. So, please add the following given code in the functions.php file of your child theme to remove From in Single Trip page.

function wp_travel_customized_strings( $strings ) {
    $strings['from'] = __( '' , 'wp-travel' );
    return $strings;
}
add_filter( 'wp_travel_strings', 'wp_travel_customized_strings' );

Remove “From” text :

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.