| CARVIEW |
Select Language
HTTP/2 301
date: Tue, 30 Dec 2025 02:07:53 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_forms_post_import/
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: HIT
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=FJJKqSnlUESIaAy1f3fj5T5l1dLg9j4zrH1uhamhl1GsIPGh1%2BxNc%2FfXOfp6MJNDYYrsQI77C0A31hTVRq%2B7652BKr%2BaGXGhrPrUQMD71QxlZvks"}]}
cf-ray: 9b5dfc6faf36f424-BLR
HTTP/2 200
date: Tue, 30 Dec 2025 02:07:53 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=9GVqey5jl1KT%2F1ORhTQtDHguCymsOamQkkcFIk2b2eQ%2FtNY5Sn57%2FcKMGAkdVFUkjmistlJgUgvnlGR9B5RQba4J7FKXjhMiQTEMhXeJgrL0vnoZ"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b5dfc747cc6f424-BLR
gform_forms_post_import - Gravity Forms Documentation
gform_forms_post_import
Description
Use this hook to perform actions after importing forms.
Usage
add_action( 'gform_forms_post_import', 'your_function_name' );
Parameters
- $forms Form Object
An array of form objects.
Example
This example shows how you can display a message after importing forms.
add_action( 'gform_forms_post_import', 'my_action_gform_forms_post_import' );
function my_action_gform_forms_post_import( $forms ) {
GFCommon::add_message( 'Change the sample values' );
}
Placement
This code should be placed in the functions.php file of your active theme.
Since
This hook was added in Gravity Forms 1.9.13.29.
Source Code
do_action( 'gform_forms_post_import', $forms )
This action hook is located in GFExport::import_json() in export.php.