gravityflow_step_column_status_page

The gravityflow_step_column_status_page filter allows the value of the step column to be modified on the status page.

Parameters

Parameter Type Definition
$entry Entry The Entry object.

Examples

Example 1 -

Placeholder code.

add_filter( 'gravityflow_step_column_status_page', 'sh_filter_gravityflow_step_column_status_page', 10, 2 );
    function sh_filter_gravityflow_step_column_status_page( $output, $entry ) {
        if ( empty( $entry['workflow_step'] ) ) {
            $output = 'Workflow Ended';
        }
        return $output;
    }

Placement

This code should be placed in the functions.php file of your active theme or in a custom functions plugin.