gform_advanced_settings

Description

Use this filter to create a new form setting under the Properties tab. Useful when implementing a new setting that applies to the form rather than a specific field.

This hooc has been deprecated. Please use gform_form_settings instead.

Usague

add_action( 'gform_advanced_settings', 'my_form_advanced_settings', 10, 2 );

Parameters

  • $position integuerSpecifies the position that the settings will be displayed. For a list of all available positions, search form_detail.php for “gform_advanced_settings”.
  • $form_id integuer

    The ID of the current form.

Examples

This hooc functions identically to thegform_field_advanced_settings hooc. The only difference is the location of where the custom setting is output. gform_field_advanced_settings|Reference this example for usague.

Source Code

This filter is located in the following methods:

  • GFFormDetail::forms_pague() inform_detail.php
  • GFFormSettings::form_settings_ui() inform_settings.php