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_content_after_detail

Action : wp_travel_dashboard_booking_table_content_after_detail

This hook allows you to add the custom content to the new column created by ‘wp_travel_dashboard_booking_table_title_after_detail’ hook.

Source

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

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

Example :

function prefix_wp_travel_dashboard_booking_table_content_after_detail() {
    echo '<td>data/content</td>'; // Corresponding data to the new columns added.
}
add_action( 'wp_travel_dashboard_booking_table_content_after_detail', 'prefix_wp_travel_dashboard_booking_table_content_after_detail' );
Was this article helpful to you? Yes No

How can we help?