gravityflow_timeline_step_icon

Description

The gravityflow_timeline_step_icon filter allows the step icon to be filtered for the timeline.

Parameters

ParameterTypeDetails
step_iconStringThe step icon HTML or image URL.
$stepStepThe Gravity Flow step.

Examples

add_filter( 'gravityflow_timeline_step_icon', 'sh_gravityflow_timeline_step_icon', 10, 2 );
    function sh_gravityflow_timeline_step_icon( $step_icon, $step) {
        //Do something here;
    }

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?