I know there’s a function to get the remaining tickets (tribe_events_count_available_tickets) of an event, any chance there is also one for getting the total tickets sold for an event?
If not, is there anything I can query to get the total original stock?
As it turns out I posted another question a couple of days ago to determine the type of ticket(s) attached to the event and Josh pointed me to this: Tribe__Tickets__Tickets::get_all_event_tickets( $event->ID );
I noticed one of the elements retrieved was “qty_sold”. I was able to take that from each ticket and add it up for a total sold. Any reason that wouldn’t work properly?