Filter: mt_tickets_close_value

apply_filters( 'mt_tickets_close_value', $tickets_close_value, $event_id, $tickets_data ) → {int}

Filter when online ticket sales should close based on availability. Default 0; sales close when sold out.

Parameters:
Name Type Description
$tickets_close_value int

Number of tickets remaining that triggers sold out condition.

$event_id int

Event ID.

$tickets_data array

Data about sold and available tickets.

Source:
Returns:
Type
int

apply_filters( 'mt_tickets_close_value', $tickets_close_value, $event_id, $tickets_data ) → {int}

Filter when online ticket sales should close based on availability. Default 0; sales close when sold out.

Parameters:
Name Type Description
$tickets_close_value int

Number of tickets remaining that triggers sold out condition.

$event_id int

Event ID.

$tickets_data array

Data about sold and available tickets.

Source:
Returns:
Type
int