Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Single Itinerary Page
  5. Filter : wp_travel_show_single_page_title

Filter : wp_travel_show_single_page_title

This filter allows you to remove the title of the trip if you don’t want it to display in the single trip page.


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

Used by

Example :

function prefix_wp_travel_show_single_page_title( $show ) {
    return false; // This will hide the page title.
add_filter( 'wp_travel_show_single_page_title', 'prefix_wp_travel_show_single_page_title'  );
Was this article helpful to you? Yes No

How can we help?