gravityflow_feedback_cancel_workflow

The gravityflow_feedback_cancel_workflow filter allows the user feedback to be modified after cancelling the workflow with the cancel link.

Parameters

Parameter Type Definition
$feedback String The sanitized feedback to send to the browser.
$entry Entry object The current entry array.
$assignee Step assignee The assignee object.
$new_status Form object The current form array.
$form Step icon The step icon HTML or image URL.
$step Step The current step.

Examples

Example 1 -

Placeholder code.

add_filter( 'gravityflow_feedback_cancel_workflow', 'sh_gravityflow_feedback_cancel_workflow', 10, 4 );
    function sh_gravityflow_feedback_cancel_workflow($feedback, $entry, $form, $step) {
        //Do something here;
    }

Placement

This code should be placed in the functions.php file of your active theme or in a custom functions plugin.