The gravityflow_step_highlight_color_inbox filter allows the step highlight color (hex value) of gravity flow inbox entries to be modified.


Parameter Type Definition
$step_highlight_color string The highlight color (hex value) of the row currently being processed.
$form_id integer The form ID of the form currently being processed.
$entry Array The entry object for the row currently being processed.


Example 1 - Change highlight colors on the Inbox Page

Assign different colors based on the entries from different forms.

add_filter( 'gravityflow_step_highlight_color_inbox', 'sh_gravityflow_step_highlight_color_inbox', 10, 5);
function sh_gravityflow_step_highlight_color_inbox( $step_highlight_color, $form_id, $entry) {
    if ( $form_id == 99 ) {
        $step_highlight_color = '#ffff00';
    elseif ( $form_id == 101 ) {
        $step_highlight_color = '#ff0000';
    return $step_highlight_color;


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