Description
The gravityflow_in_progress_label_user_input filter allows the ‘in progress’ label to be modified on the User Input step.
Parameters
Parameter | Type | Details |
---|---|---|
$in_progress_label | String | The ‘In Progress’ label. |
$step | Step | The current workflow step. |
Examples
Modify the label for all user input steps
add_filter( 'gravityflow_in_progress_label_user_input', 'sh_filter_gravityflow_in_progress_label_user_input', 10, 2 );
function sh_filter_gravityflow_in_progress_label_user_input( $in_progress_label, $step ) {
return 'Save for later';
}
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?