Query Tickets Arguments

  • 'event' – Filters tickets by a specific event.
  • 'event_not_in' – Filters by tickets that are not related to a specific event.
  • 'is_available' – Sets up the query to filter tickets by availability.
  • 'provider' – Sets up the query to filter tickets by provider.
  • 'attendees_min' – Adds a WHERE clause to the query to filter tickets that have a minimum number of attendees.
  • 'attendees_max' – Adds a WHERE clause to the query to filter tickets that have a maximum number of attendees.
  • 'attendees_between' – Adds a WHERE clause to the query to filter tickets that have a number of attendees between two values.
  • 'checkedin_min' – Adds a WHERE clause to the query to filter tickets that have a minimum number of checked-in attendees.
  • 'checkedin_max' – Adds a WHERE clause to the query to filter tickets that have a maximum number of checked-in attendees.
  • 'checkedin_between' – Adds a WHERE clause to the query to filter tickets that have a number of checked-in attendees between two values.
  • 'capacity_min' – Filters tickets by a minimum capacity.
  • 'capacity_max' – Filters tickets by a maximum capacity.
  • 'capacity_between' – Filters tickets by a minimum and maximum capacity.
  • 'available_from' – Filters tickets by their ‘available start’ date.
  • 'available_until' – Filters tickets by their ‘available until’ date.
  • 'event_status' – Filters tickets to only get those related to posts with a specific status.
  • 'has_attendee_meta' – Filters tickets depending if they have additional information available and active or not.
  • 'currency_code' – Filters tickets by their provider currency codes. Applying this filter automatically excludes RSVP tickets that, being free have no currency and hence no code.
  • 'is_active' – Filters tickets by if they are currently available or available in the future.
  • 'type' – Filters the ticket to be returned by the value of the _type meta key.
  • 'type__not_in' – Filters the ticket to be excluded by the value of the _type meta key.
  • 'global_stock_mode' – Filters tickets by their global stock mode.