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_untrash_booking

Action :wp_travel_action_after_untrash_booking

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

Active Sincev2.0.3

Source

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

Parameters
$booking_id

Example:

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

How can we help?