apply_filters( 'mt_show_form_when_soldout', $show, $event_id ) → {bool}
Filter to set whether the 'add to cart' form should be visible when the engagement is sold out.
Parameters:
Name | Type | Description |
---|---|---|
$show |
bool | Whether to show the form. Default false. |
$event_id |
int | Event ID for event displayed. |
- Source:
Returns:
- Type
- bool