Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Controls whether a step is considered complete.
Parameters #
$is_complete(bool) Whether the step is complete.$step_id(string) The step identifier.$context(string) The context in which the step is being checked. Defaults tocheckout.
Examples #
/**
* Set all steps as not-complete to force the user to always start from the first step.
*/
function set_steps_as_not_complete( $is_complete, $step_id, $context ) {
return false;
}
add_filter( 'fc_is_step_complete', 'set_steps_as_not_complete', 10, 3 );
