CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 17:38:37 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=5lpurV%2FpS04LIp3R8ELS0THsi%2FXd0o95TXDfDC0%2BmEqzuDafl62YunSGoSO1jg7Nn23JXBH%2FsLu%2BlVgAT9%2FU2HNymZu4KtxETdaJ12AqjUZaNbS5"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98d021d27b51343c-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