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.
Usage
add_action( 'gform_advanced_settings', 'my_form_advanced_settings', 10, 2 );Parameters
Examples
This hook functions identically to the gform_field_advanced_settings hook. The only difference is the location of where the custom setting is output. gform_field_advanced_settings|Reference this example for usage.
Source Code
This filter is located in the following methods:
- GFFormDetail::forms_page() in form_detail.php
- GFFormSettings::form_settings_ui() in form_settings.php