Tribe__Tickets_Plus__Meta::get_attendee_meta_fields_key( string|int $ticket_id, string|int $attendee_id = null )
Fetch the meta fields key for attendee/ticket.
Contents
Parameters
- $ticket_id
-
(string|int) (Required) Which ticket we are fetching for.
- $attendee_id
-
(string|int) (Optional) Which attendee we are fetching for.
Default value: null
Return
(string)
Source
File: src/Tribe/Meta.php
public static function get_attendee_meta_fields_key( $ticket_id, $attendee_id = null ) {
/**
* Allow the modification of the key used to fetch attendee registration fields.
*
* @since 5.3.0
*
* @param string $meta_key Which key is used to get the meta fields.
* @param string|int $ticket_id Which ticket we are fetching for.
* @param string|int $attendee_id Which attendee we are fetching for.
*/
return apply_filters( 'tec_tickets_commerce_legacy_attendee_meta_key', static::META_KEY, $ticket_id, $attendee_id );
}
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |