gravityflow_next_step

The gravityflow_next_step filter allows the next step in the workflow to be customized.

Parameters

Parameter Type Definition
$step Gravity_Flow_Step| bool The next step
$current_step Gravity_Flow_Step The current step
$entry Entry The current entry object.
$steps Gravity_Flow_Step The steps for the current form.

Examples

Example 1 -

Placeholder code.

add_filter( 'gravityflow_next_step', 'sh_gravityflow_next_step', 10, 4 );
    function sh_gravityflow_next_step($step, $current_step, $entry, $steps) {
	
		// Do something here..
        return $step;
    }

Placement

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