Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Controls whether a specific step is considered completed.
Modifiers #
{step_id}(string) Step ID of the step to change the completion state of. By default the following Step IDs are accepted, but can also accept custom steps:contact,shipping,billingorpayment.
Parameters #
$is_complete(bool) Whether the specific step is complete.$context(string) The context in which the step is being checked.
Examples #
/**
* Set specific step as not-complete to force the user to always review that step.
*/
function set_shipping_step_as_not_complete( $is_complete, $context ) {
return false;
}
add_filter( 'fc_is_step_complete_shipping', 'set_shipping_step_as_not_complete', 10, 2 );
