Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Single Itinerary Page
  5. Filter :wp_travel_custom_itinerary_tabs

Filter :wp_travel_custom_itinerary_tabs

Custom itinerary tabs enable/disable. Default is false.

Source

File: /core/ajax/trips.php
Used by: /core/ajax/trips.php, /core/helpers/trips.php, /inc/helpers.php. /inc/admin/views/tabs/tab-contents/itineraries/tabs.php

Example:

function prefix_wp_travel_custom_itinerary_tabs( $boolean ) {
    return false;
    }
add_filter( 'wp_travel_custom_itinerary_tabs', 'prefix_wp_travel_custom_itinerary_tabs' );
Was this article helpful to you? Yes No

How can we help?