gpi_choice_counts
Description
Filter the number of claimed choice counts for the given field.
Usage
Apply to all fields on all forms.
add_filter( 'gpi_choice_counts', 'my_custom_function' );
Apply to all fields on a specific form.
add_filter( 'gpi_choice_counts_FORMID', 'my_custom_function' );
Apply to a specific field on a specific form.
add_filter( 'gpi_choice_counts_FORMID_FIELDID', 'my_custom_function' );
Parameters
counts array
Associative array of the choice counts (i.e. array( ‘First Choice’ => 1 )).
form_id int
Current form ID.
field GF_Field
Current field object.
Since
This filter is available since Gravity Forms Inventory 1.0-beta-1.0.