Located at pro/includes/tickets.php
Gets the total capacity for an event.
This gets the total number of attendees that an event can hold. It sums the amount of each ticket type. If a cap is set for the event, it takes the minimum of that number with the cap.
If you are not booking individual dates set the occurrence ID to 0. If are booking individual dates, specify an occurrence ID to get capacity for that occurrence, otherwise pass 0 to get the capacity for the entire event series.
||The event ID for which to get the capacityu|
||Occurence ID. Do not set if booking events as series.|
Return value summary
||The total number of attendees an event can hold.|