| CARVIEW |
Select Language
HTTP/2 301
date: Sun, 28 Dec 2025 02:15:13 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_export_form/
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=Db3x85zQYHXQ7F5iTZk18PjP3puCHoNbiVTn8Z0w3ZH86AliLaUpKQGTlx3k8%2BzXOo46xq4hqa9%2BEbt4MtWEBIgwAyLHMEpi%2BpCXoSSWmbhIk1n4"}]}
cf-ray: 9b4d8c6ecf5c7fa8-BLR
HTTP/2 200
date: Sun, 28 Dec 2025 02:15: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=GAK%2FUQvL1ItOKaMWNA%2FlhN86f9fZscBVtHG%2BY6uFxwjX00LhjIjq1AYgpKn2RlbvcUp8OQ8y5OOLtMXEC5puDH5j7GxEkw7BY6I8pbOSREkqpkmL"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b4d8c752d227fa8-BLR
gform_export_form - Gravity Forms Documentation
gform_export_form
Description
Allows modification of the form meta before export.
Usage
The following would apply to all forms:
add_filter( 'gform_export_form', 'modify_form_for_export', 10, 1 );
To target a specific form, append the form id to the hook name. (format: gform_export_form_FORMID)
add_filter( 'gform_export_form_1', 'modify_form_for_export', 10, 1 );
Parameters
- $form Form Object
The current form.
Example
add_filter( 'gform_export_form', 'modify_form_for_export' );
function modify_form_for_export( $form ) {
$form['exported'] = true;
return $form;
}
add_filter( 'gform_export_form', 'modify_form_for_export' );
function modify_form_for_export( $form ) {
$form['title'] = 'Export of ' . $form['title'];
return $form;
}
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms version 1.8.8.
Source Code
This filter is located in GFExport::prepare_forms_for_export() in export.php.