Search Documentation

WP Travel Developer Documentation

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

Action :wp_travel_after_payment_email_sent

Fire after payment email sent. Hook to handle invoice.

Active Since v3.0.6

Source

File: /inc/payments/wp-travel-payments.php
Used by: /inc/payments/wp-travel-payments.php

Parameters
$booking_id, $email_data, $email_tags

Example:

function prefix_wp_travel_after_payment_email_sent( $booking_id, $email_data, $email_tags ) {
    // Code here.
}
add_action( ‘wp_travel_after_payment_email_sent', 'prefix_wp_travel_after_payment_email_sent’ );
Was this article helpful to you? Yes No

How can we help?