gravityflow_approve_label_workflow_detail

The gravityflow_approve_label_workflow_detail filter can be used to modify the 'Approve' label on the Approval step.

Parameters

$approve_label string

The label to be overridden.

$step Gravity_Flow_Step

The current step.

Example

add_filter( 'gravityflow_approve_label_workflow_detail', 'filter_approve_label_workflow_detail', 10, 2 );
function filter_approve_label_workflow_detail( $approve_label, $step ) {
   return 'Your new label';
}

Since

This filter was added in version 1.3.1.3.

Still need help? Contact Support Contact Support