gravityflow_pre_restart_workflow
The gravityflow_pre_restart_workflow action fires just before the workflow restarts for an entry.
Parameters
Parameter | Type | Definition |
---|---|---|
$entry | Gravity Forms entry object | The current entry. |
$form | Form object | The current form. |
Examples
Example 1 -
Placeholder code.
add_action( 'gravityflow_pre_restart_workflow', 'sh_gravityflow_pre_restart_workflow', 10, 2); function sh_gravityflow_pre_restart_workflow($entry, $form) { // Do something here.. }
Placement
This code should be placed in the functions.php file of your active theme or in a custom functions plugin.