Filter: mt_is_virtual_inventory

apply_filters( 'mt_is_virtual_inventory', $mt_inventory, $event_id ) → {string}

Filter whether a particular event uses virtual inventory. Return 'virtual' to use the virtual inventory, 'actual' to use completed purchases only.

Parameters:
Name Type Description
$mt_inventory string

'actual' or 'virtual'.

$event_id int

Event ID.

Source:
Returns:
Type
string