Skip to main content

Filter: gform_addon_form_settings_fields

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. rgar($form, 'id')
  2. $this->get_slug()

Example hook names:

  • gform_addon_form_settings_fields (base hook)
  • gform_addon_form_settings_fields_1 (with first modifier value)
  • gform_addon_form_settings_fields_1_2 (with all modifier values)

Allows code to modify the settings fields displayed on a given form settings page.

Parameters

NameTypeDescription
$sectionsarrayThe current sections and fields.

Since

  • 2.7

Source

Defined in includes/addon/class-gf-addon.php at line 4395