Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Singe Itinerary Page
  5. Action : wp_travel_trip_details

Action : wp_travel_trip_details

This hook  lets you add the custom content in trip overview content.

Source

File : /inc/template-functions.php

Used by
/inc/template-functions.php

Example :

function prefix_wp_travel_trip_details() {
    esc_html_e( 'This is the content added using this hook', 'text-domain' );
}
add_action( 'wp_travel_trip_details', 'prefix_wp_travel_trip_details'  );
Was this article helpful to you? Yes No

How can we help?