eo_get_booking_ticket_meta
since 1.10.0
Pro
eo_get_booking_ticket_meta( $booking_ticket_id, $key = '', $single = false )
Retrieve post meta field for a booking ticket.
This function returns the values of the venue meta with the specified key from the specified venue. (Specified by the venue ID - the taxonomy term ID).
Parameters
int
|
$booking_ticket_id |
Booking ticket ID.
|
string
|
$key = '' |
Optional. The meta key to retrieve. By default, returns data for all keys.
|
bool
|
$single = false |
Whether to return a single value.
|
Return value
mixed
|
Will be an array if $single is false. Will be value of meta data field if $single is true.
|
Changelog