CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 23:38:05 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
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: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=otoPEjfsG1lmAocikF75BG6jUfqTjIOjAE%2FzqJVaTYFUui6COOFiy4kjNt8lCF%2BRByaef02l%2FjsbJ4q15n9EouzaVrNOuxcF4YGTfryQCjEm0E0S"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98da6dc1abf6c1bd-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.