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_content_title

Action : wp_travel_before_archive_content_title

This hook allows you to add custom content just above the trips title in archive trip page.


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

Used by

Example :

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

How can we help?