| CARVIEW |
Select Language
HTTP/2 301
date: Sun, 28 Dec 2025 04:17:12 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_feed_settings_before_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: MISS
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=Z2z3BAIXIVhp8xAzte8R%2BPtOHcCu4TICYNLCcYga8n1zgydWSpoE7hZNqRpoJoheoQkirm3CNQNfgeVhcBOUvZWtW5qHa9NXn%2BQI0uqMv0QCMLXZ"}]}
cf-ray: 9b4e3f2158adc1f7-BLR
HTTP/2 200
date: Sun, 28 Dec 2025 04:17:13 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: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=XHnRC6qk0kNzLkbhEIGfLaEVlpkQX65lTS45IcmJsEJYfJKREkkKnsm9oWqwnTjVdRctBgKe3guYWdXnk2oE9BnXbZorl8dTbZZ1Ce8N9BVNk%2FCF"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b4e3f27b857c1f7-BLR
gform_feed_settings_before_fields - Gravity Forms Documentation
gform_feed_settings_before_fields
Description
The gform_feed_settings_before_fields filter allows developers to change the content that is displayed before the feed settings
Usage
Applies to all forms:
add_filter( 'gform_feed_settings_before_fields', 'your_function_name', 10, 2 );
Parameters
- $before_fields array
The content to be displayed before the feed settings fields. - $form int
The ID of the form associated with the feed.
Examples
Add a message to the feed settings page.
add_filter( 'gform_feed_settings_before_fields', 'test_before_fields', 10, 2 );
function test_before_fields( $before_fields, $form ) {
return 'This is the top of a feed settings page' . $before_fields;
}
Add a message to the feed settings page for Gravity Flow feed settings.
add_filter( 'gform_feed_settings_before_fields', 'test_before_fields', 10, 2 );
function test_before_fields( $before_fields, $form ) {
if ( 'gravityflow' !== rgget( 'subview' ) ) { // replace gravityflow with the slug of your own add-on
return $before_fields;
}
return 'This is the top of a feed settings page' . $before_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?
Source Code
This filter is located in includes/addon/class-gf-feed-addon.php
Since
The filter was added in Gravity Forms 2.9.5