gform_after_save_form

The Gravity Forms gform after save form hook.

Description

do_action( 'gform_after_save_form', (unknown) $form_meta, (bool) $false ); 

Parameters (2)

0. $form_meta (unknown)
The form meta.
1. $false (bool)
The false.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'gform_after_save_form', $form_meta, $false ); 
The following example is for adding a hook callback.
  1. // define the gform_after_save_form callback 
  2. function action_gform_after_save_form( $form_meta, $false ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'gform_after_save_form', 'action_gform_after_save_form', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'gform_after_save_form', 'action_gform_after_save_form', 10, 2 ); 

Defined (2)

The action is defined in the following location(s).

/form_detail.php  
  1. do_action( 'gform_after_save_form', $form_meta, false ); 
  1. do_action( 'gform_after_save_form', $form_meta, true );