apply_filters( 'mt_default_available', $default_available, $registration ) → {int}
Filter default number of tickets considered available under General Admission. General Admission uses a floating value of available tickets, so there's no real limit; this value does limit the number of tickets that can be purchased at once, however.
Parameters:
Name | Type | Description |
---|---|---|
$default_available |
int | Number of tickets available. |
$registration |
array | Ticketing rules for this event. |
- Source:
Returns:
- Type
- int