Filter: mt_custom_event_limit

apply_filters( 'mt_custom_event_limit', $limit, $event_id, $remaining ) → {int}

Filter the number of remaining tickets that trigger automatic closing of online ticket sales.

Parameters:
Name Type Description
$limit int

Number of tickets that cause an event to be sold out.

$event_id int

Event ID.

$remaining array

Array of information about the number of tickets remaining.

Source:
Returns:
Type
int