gravityflow_complete_label_user_input
The gravityflow_complete_label_user_input filter allows the 'Complete' label to be modified on the User Input step.
Parameters
Parameter | Type | Definition |
---|---|---|
$step | Step | The workflow step. |
$complete_label | String | The 'Complete' label. |
Examples
Example 1 -
Placeholder code.
add_filter( 'gravityflow_complete_label_user_input', 'sh_filter_gravityflow_complete_label_user_input', 10, 2 ); function sh_filter_gravityflow_complete_label_user_input( $complete_label, $step ) { return 'Finished editing'; }
Placement
This code should be placed in the functions.php file of your active theme or in a custom functions plugin.