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_single_trip_meta_list

Action : wp_travel_single_trip_meta_list

This hook allows you to add your custom contents just above the ‘Trip enquiry’ and ‘Book Now’ button and below the trip meta info box in single trip page.

Source

File : /inc/template-functions.php

Introduced on WP Travel version 2.0.4 over wp_travel_single_itinerary_after_trip_meta_list.

Used by
/inc/template-functions.php

Example :

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

How can we help?