Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Booking
  5. Action :wp_travel_action_after_trash_booking

Action :wp_travel_action_after_trash_booking

Hook to update current booking inventory data. Fire after deleting booking count transient.

Active Since v2.0.3


File: /inc/admin-helper.php
Used by: /inc/admin-helper.php



function prefix_wp_travel_action_after_trash_booking( $booking_id ) {
    // Code here.
add_action( 'wp_travel_action_after_trash_booking', 'prefix_wp_travel_action_after_trash_booking'  );
Was this article helpful to you? Yes No

How can we help?