eventorganiser_booking_confirmed_email_attachments
(filter)
Pro
Filters the attachments of the e-mail sent to the bookee after a booking is confirmed
This filters an array of attachments, each attachment is in fact just a filesystem path to the
attachment. This array is ultimately passed to wp_mail()
.
Parameters
string
|
$subject |
The attachments for the e-mail.
|
int
|
$booking_id |
The ID of the booking this e-mail is for
|
Example Usage
add_filter( 'eventorganiser_booking_confirmed_email_attachments', 'my_callback_function', 10, 2 );
function my_callback_function( $subject, $booking_id ){
//Change first value and return it
return $subject
};
Related
Resources