Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Controls whether a specific sub-step is considered completed.
Modifiers #
{substep_id}(string) Sub-step ID of the sub-step to change the completion state of. For instance:shipping_address,shipping_method,billing_address, or any other registered sub-step.
Parameters #
$is_substep_complete(bool) Whether the sub-step is complete.
Examples #
/**
* Set specific sub-step as not-complete to force the user to always review that sub-step.
*/
function set_shipping_method_substep_as_not_complete( $is_substep_complete ) {
return false;
}
add_filter( 'fc_is_substep_complete_shipping_method', 'set_shipping_method_substep_as_not_complete', 10 );
