Filter: gravityview_template_{$field_type}_options
Filters the field options by field type. Filter names: gravityview_template_field_options and gravityview_template_widget_options.
Parameters
| Name | Type | Description |
|---|---|---|
| $field_options | array | Array of field options with label, value, type, default keys. |
| $template_id | string | Table slug. |
| $field_id | float | GF Field ID - Example: 3, 5.2, entry_link, created_by. |
| $context | string | What context are we in? Example: single or directory. |
| $input_type | string | (textarea, list, select, etc.). |
| $form_id | int | The form ID. {@since 2.5} |
Source
Defined in includes/admin/class.render.settings.php at line 284