gpi_disable_choices
Description
Filter whether choices should be disabled if not removed.
Usage
Apply to all fields on all forms.
add_filter( 'gpi_disable_choices', 'my_custom_function' );
Apply to all fields on a specific form.
add_filter( 'gpi_disable_choices_FORMID', 'my_custom_function' );
Apply to a specific field on a specific form.
add_filter( 'gpi_disable_choices_FORMID_FIELDID', 'my_custom_function' );
Parameters
disable_choices boolean
true
to disable choices.field GF_Field
The current field.
form array
The current form.
Since
This filter is available since Gravity Forms Inventory 1.0-beta-1.0.