eventorganiser_notify_new_booking_message
(filter)
Pro
Filters the body of the e-mail sent to the site admin when a booking is made If the option is enabled, this e-mail is sent to the site admin after a booking is made (regardless of whether payment is confirmed)
Parameters
string
|
$message |
The body of the e-mail.
|
int
|
$booking_id |
The ID of the booking this e-mail is for
|
Example Usage
add_filter( 'eventorganiser_notify_new_booking_message', 'my_callback_function', 10, 2 );
function my_callback_function( $message, $booking_id ){
//Change first value and return it
return $message
};
Related