| CARVIEW |
Select Language
HTTP/2 301
date: Mon, 29 Dec 2025 06:01:52 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_post_update_form_meta/
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=8LAoI%2BU0UtJIlllBJ1ZZJpTYH3%2B7HCPqFsSGHbg%2F7GsO3aRFuo9M6mkCXNJh8mEYwWGCfjCWAJlQKS%2FqrIsXSNzu5JAsQj1LWTSJMDzXxcsz%2FZpB"}]}
cf-ray: 9b5715cedb10b155-BLR
HTTP/2 200
date: Mon, 29 Dec 2025 06:01:52 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=rhK4zMd2BrimULXN00PErV%2BvR6VqcWf9AL3zZ%2FA9QDWsMr3teZGmqPs9RKzL3FiCtEAmpjpsJFunJoS5U6UnGyoPe44eLimUYTB5WDYTqgNSFHab"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b5715d59815b155-BLR
gform_post_update_form_meta - Gravity Forms Documentation
gform_post_update_form_meta
Description
Fires after form meta has been updated for any form.
Usage
The following would apply to all forms:
add_action( 'gform_post_update_form_meta', 'your_function_name', 10, 3 );
To target a specific form, append the form id to the hook name. (format: gform_post_update_form_meta_FORMID):
add_action( 'gform_post_update_form_meta_1', 'your_function_name', 10, 3 );
Parameters
- $form_meta Form Object
The current form data.
- $form_id int
The form id.
- $meta_name string
The name of the meta updated. Possible values:
display_meta(the form fields and settings),notifications, orconfirmations
Examples
add_action( 'gform_post_update_form_meta', 'update_data', 10, 3 );
function update_data( $form_meta, $form_id, $meta_name ) {
GFCommon::send_email( '[email protected]', '[email protected]', '', '', 'Form ' . $form_id, 'Form Updated at ' . date( 'Y-m-d H:i:s' ) );
}
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Since
This filter was added in Gravity Forms version 1.9.
Source Code
This filter is located in GFFormsModel::update_form_meta() in forms_model.php.