gpi_choice_inventory_limit
Description
Filter the inventory limit for choices.
Usage
Apply to all applicable fields on all forms.
add_filter( 'gpi_choice_inventory_limit', '__return_true' );
Apply to all applicable fields on a specific form.
add_filter( 'gpi_choice_inventory_limit_FORMID', '__return_true' );
Apply to a specific field on a specific form.
add_filter( 'gpi_choice_inventory_limit_FORMID_FIELDID', '__return_true' );
Parameters
inventory_limit int
Inventory limit of the current choice.
choice array
The current choice.
field GF_Field
The current field.
form array
The current form.
Since
This filter is available since Gravity Forms Inventory 1.0-beta-1.5.