| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 13:43:32 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_form_export_filename/
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=XD1c1xiu4S2JFj7HqJHLAdeDZeunU1xxyKS7hLXNkBmyBfRKPEz7BcVv1dG8OONFQWy11RG2ZTJsCw5ggDnI7wUm933g8MZid6hV8Ni6IreYfMLV"}]}
cf-ray: 9b493f569b1dc537-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 13:43: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=w2ajefObv2qsyGrq3zesEQN%2Fhnqax8IzXazlTMCrLBtt7sNTaeLfSnexxC%2Fz5NSOzjkyzvVy6v5%2F38QfWDT%2FhCrwjQFCtk6Gic3%2FYrFddFhbMkPt"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b493f5e8c27c537-BLR
gform_form_export_filename - Gravity Forms Documentation
gform_form_export_filename
Description
Allows the form export filename to be changed.
Note: Do not include a file extension. The extension “.json” is added.
Usage
add_filter( 'gform_form_export_filename', 'your_function_name', 10, 1 );
Parameters
- $filename string
The new filename to use for the export file.
Example
add_filter( 'gform_form_export_filename', function( $filename ) {
return 'new-filename-without-extension';
} );
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms version 2.3.4.
Source Code
This filter is located in GFExport::export_forms() in export.php.