Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters
  5. Filter : wp_travel_strings

Filter : wp_travel_strings

This filter changes the string.

Source

File : /inc/helpers.php

Used by
/inc/helpers.php

Example :

function wp_travel_change_string($localized_strings){
    $localized_strings ['bookings']['start_date'] = 'Departure Date';
    $localized_strings ['bookings']['arrival_date'] = 'Departure Date';
    return $localized_strings;

}
add_filter('wp_travel_strings','wp_travel_change_string');
Was this article helpful to you? Yes No

How can we help?