gravityflow_workflow_complete

Fires when the workflow is complete.

add_action('gravityflow_workflow_complete', 'my_workflow_complete_function', 10, 3);
function my_workflow_complete_function( $entry_id, $form, $final_status ) {
    if ( $form['id'] == 123 ) {  // Replace your Form ID
        // do stuff
    }
}

Placement

This code should be placed in the functions.php file of your active theme.

Still need help? Contact Support Contact Support