tribe_tickets_ar_field_name( int $ticket_id, string $field_slug )

Build the AR field name.


Parameters #

$ticket_id

(int) (Required) The ticket ID.

$field_slug

(string) (Required) The field slug.


Top ↑

Return #

(string) The AR field name.


Top ↑

Source #

File: src/template-tags/tickets.php

	function tribe_tickets_ar_field_name( $ticket_id, $field_slug ) {
		return 'tribe-tickets-meta[' . $ticket_id . '][{{data.attendee_id}}][' . $field_slug . ']';
	}

Top ↑

Changelog #

Changelog
Version Description
TBD Introduced.