gcapi_form_field_choices
Description
Filter the choices available in the form field dropdown.
Usage
Applied globally
add_filter( 'gcapi_form_field_choices', 'my_custom_function' );
Parameters
$choices
array
The value and label properties for each choice.
$form_id
int
The ID of the form currently being configured.
Since
1.0.0
Hook added.