gravityflow_feedback_approval_token

Use this filter to change the text of the feedback message on the approval step specifically for uses using the one-click approval links.

The f ollowing example will change the message to "Thank you.".

add_filter( 'gravityflow_feedback_approval_token', 'sh_gravityflow_feedback_approval', 10, 6 );  
function sh_gravityflow_feedback_approval( $feedback,  $entry, $assignee, $new_status, $form, $step ) { 
    return "Thank you";  
}

NOTE: This filter will only run when the approval link is clicked via email. If you want to modify the feedback for clicking on the workflow detail page you need to use the gravityflow_feedback_approval filter which takes the same arguments.

Placement

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