Filter: mt_admin_only_ticket

apply_filters( 'mt_admin_only_ticket', $admin_only, $type ) → {bool}

Set a ticket type as only available to administrators. Return true to hide ticket types from the public.

Parameters:
Name Type Description
$admin_only false

False to indicate a ticket type is available to the public.

$type string

Ticket type key.

Source:
Returns:
Type
bool