gravityflow_feedback_approval

Use this filter to change the text of the  feedback  message on the approval  step.

The  following  example will change the message to "Thank you.".

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

NOTE: This filter will only run when the approval buttons are clicked on the workflow detail page. If you want to modify the feedback for the one-click approval links you need to use the gravityflow_feedback_approval_token filter which takes the same arguments.

Placement

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