Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Tab
  5. Action : wp_travel_tab_content_before_trips

Action : wp_travel_tab_content_before_trips

Fire before WP Travel admin itinerary tab fields.


File: /inc/admin/views/tabs/tabs-contents/settings/itinerary.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/itinerary.php



function prefix_wp_travel_tab_content_before_trips( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
add_action( ‘wp_travel_tab_content_before_trips', 'prefix_wp_travel_tab_content_before_trips’ );
Was this article helpful to you? Yes No

How can we help?