Search Documentation

WP Travel Developer Documentation

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

Action : wp_travel_dashboard_booking_table_title_after_detail

This hook allows you to add a custom column in the booking table of WP Travel Dashboard.

Source

File : /templates/account/tab-content/bookings.php

Used by
/templates/account/tab-content/bookings.php

Example :

function prefix_wp_travel_dashboard_booking_table_title_after_detail() {
    echo '<th>New Column</th>'; // Adds new column to the Booking Listings Table on WP Travel Dashboard Page.
}
add_action( 'wp_travel_dashboard_booking_table_title_after_detail', 'prefix_wp_travel_dashboard_booking_table_title_after_detail' );
Was this article helpful to you? Yes No

How can we help?