eventorganiser_booking_ticket_reference
(filter)
since 1.12.0
Pro
Filters the ticket reference for the booking's ticket The ticket reference number is not used in any pratical way, it is purely asthetic: it appears in the e-mail sent to the bookee. It is intended to be any easy way to identify a ticket within a given booking. No gurantees or assumptions are made about the uniqueness of the reference number outside the boooking
Parameters
string
|
$ticket_reference |
Ticket reference number
|
int
|
$event_ticket_id |
Ticket type ID
|
int
|
$booking_id |
ID of the booking the ticket belongs to
|
Changelog
Example Usage
add_filter( 'eventorganiser_booking_ticket_reference', 'my_callback_function', 10, 3 );
function my_callback_function( $ticket_reference, $event_ticket_id, $booking_id ){
//Change first value and return it
return $ticket_reference
};