Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Email
  5. Filter :wp_travel_client_payment_email

Filter :wp_travel_client_payment_email

WP Travel client payment email content.

Source

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

Parameters
$client_message_data, $booking_id

Example:

function prefix_wp_travel_client_payment_email( $client_message_data, $booking_id ) {
    $client_message_data = ‘CONTENT HERE’;
    return $admin_message_data;
}
add_filter( 'wp_travel_client_payment_email', 'prefix_wp_travel_client_payment_email', 12, 2 );
Was this article helpful to you? Yes No

How can we help?