Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Archive Page
  5. Action : wp_travel_before_archive_itinerary

Action : wp_travel_before_archive_itinerary

This hook allows you to add your custom content above every individual trips in the trip archive itinerary page.


File : /templates/content-archive-itineraries.php

Used by

Example :

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

How can we help?