gpi_remove_choices
Description
Filter whether choices should be removed.
Usage
Apply to all fields on all forms.
add_filter( 'gpi_remove_choices', 'my_custom_function' );
Apply to all fields on a specific form.
add_filter( 'gpi_remove_choices_FORMID', 'my_custom_function' );
Apply to a specific field on a specific form.
add_filter( 'gpi_remove_choices_FORMID_FIELDID', 'my_custom_function' );
Parameters
remove_choices boolean
true
to remove 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.