| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 13:53:32 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_notification_disable_from_warning/
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=dVfW3KEmyyc7SlEOU%2FJE2njgxIcGHbtmixGczHkBjhjjpcbnxUDJWPtn6bYrsGXT73yhYHdZCKsSKqEJZTBe8KitHpvxB0cwKP%2BCC5nli5F3wXe2"}]}
cf-ray: 9b494dfdcebac143-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 13:53:33 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=U2h6evpeaLmy3BKFGMNkfqDZ1eUAA9nXIo8iR%2FXq5z1qTyMqPI9TkIePQ58MtIAmJIYw1zt9Iweqm1UzfWgyNE1mePYN8g5SYD8xtuuWm9LWH0Nz"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b494e04a923c143-BLR
gform_notification_disable_from_warning - Gravity Forms Documentation
gform_notification_disable_from_warning
Description
Allows the from address warning to be disabled.
Usage
add_filter( 'gform_notification_disable_from_warning', '__return_true' );
Parameters
- $disable_from_warning bool
Should the From Email warning be disabled?
Example
- Disable the warning message for all the notifications.
add_filter( 'gform_notification_disable_from_warning', '__return_true' );
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms v2.4.13.
Source Code
This filter is located in notifications.php.
$disable_from_warning = gf_apply_filters( array( 'gform_notification_disable_from_warning', $form['id'], rgar( $notification, 'id' ) ), false );