| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 19:36:42 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_form_not_found_message/
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=6FQHIv79axchqJLadR3Pd%2FfKQkCZR6HrB2Ajy3EO45C73mkkJj3MFRflbZiYI2NmJINPbMAKXFgplSHW6pVpNZZkvCo8OAMbpzYcH8L39Cl4Jf9b"}]}
cf-ray: 9b4b44ad5c22c46e-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 19:36:43 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=QEUtAxQG0PlxxRC%2Fd3jhAam9sBJM%2FUVHetf8ZDQbJbYY9aP4OHuWyN5M1YGgsBXqMsLq%2FWXcBO2R3mBC33VxFoBTAy%2F49%2BN3h0dSjalRO34TYpHj"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b4b44b3cda7c46e-BLR
gform_form_not_found_message - Gravity Forms Documentation
gform_form_not_found_message
Description
The “gform_form_not_found_message” filter in Gravity Forms allows the default form message, “Oops! We could not locate your form.” to be changed.
Usage
add_filter( 'gform_form_not_found_message', 'your_function_name', 10, 2 );
Parameters
Example
add_filter( 'gform_form_not_found_message', 'change_message', 10, 2 );
function change_message( $message, $id ){
return "We could not find the form with id " . $id;
}
Placement
Your code snippet should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFFormDisplay::get_form() in gravityforms/form_display.php.