Description
The gravityflow_step_column_status_page filter allows the value of the step column to be modified on the status page.
Parameters
Examples
Update the value of the status column based on separate entry value
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 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?