| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 08:27:18 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_plugin_settings_fields/
server: cloudflare
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
x-redirect-by: WordPress
fastcgi-cache: EXPIRED
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=d26oZKkFLLIFLgAqSFNLCF%2F3%2BhRC5lmi5wkgfVOpR0YelzauebN1R0ITGN7h7EUJ77rRPsGF98iyaWLtq9LEmMiv2uLdCuKWqyvWETmeLY%2FBQC4g"}]}
cf-ray: 9b47701cefe8c19f-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 08:27:19 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: EXPIRED
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=lkEQFJiNOXIaob87%2BbJCRs%2FDQp5gEvycTM2t3%2FTojvIcB0QvSClM8zgVcDAvxURlBOCIDm227QB9wgUpbsWBaf%2FshgEEoSVylz6HDrFs4RZqClUp"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b4770203995c19f-BLR
gform_plugin_settings_fields - Gravity Forms Documentation
gform_plugin_settings_fields
Description
The gform_plugin_settings_fields filter is used to customize the available settings on the Forms > Settings page.
Usage
The filter which runs for all would be used like so:
add_filter( 'gform_plugin_settings_fields', 'your_function_name' );
Parameters
- $fields array
The plugin settings fields. See the Settings API for details about how the fields are defined.
$fields = array(
'license_key' => array(),
'license_key_details' => array(),
'css' => array(),
'currency' => array(),
'logging' => array(),
'toolbar' => array(),
'background_updates' => array(),
'no_conflict_mode' => array(),
'akismet' => array(),
'html5' => array(),
);
Examples
Remove license details
This example would remove the “Your License Details” panel from the Forms > Settings page.
add_filter( 'gform_plugin_settings_fields', function ( $fields ) {
unset( $fields['license_key_details'] );
return $fields;
});
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Since
This filter was added in Gravity Forms v2.5.16.4.
Source Code
This filter is located in GFSettings::plugin_settings_fields() in settings.php.