Skip to main content

Filter: gform_field_map_choices

Filter the choices available in the field map drop down.

Parameters​

NameTypeDescription
$fieldsarrayThe value and label properties for each choice.
$form_idintThe ID of the form currently being configured.
$required_typesnull|arrayNull or the field types to be included in the drop down.
$exclude_field_typesnull|array|stringNull or the field type(s) to be excluded from the drop down.

Since​

  • 2.5

Source​

Defined in includes/settings/fields/class-generic-map.php at line 618