Skip to main content

Filter: gform_addon_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.
$field_typenull|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

Source

  • Defined in includes/addon/class-gf-addon.php at line 3295
  • Defined in includes/settings/fields/class-generic-map.php at line 606