gravityflow_in_progress_label_user_input

Description

The gravityflow_in_progress_label_user_input filter allows the ‘in progress’ label to be modified on the User Input step.

Parameters

ParameterTypeDetails
$in_progress_labelStringThe ‘In Progress’ label.
$stepStepThe current workflow step.

Examples

Modify the label for all user input steps

1
2
3
4
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?