Skip to main content

fc_is_checkout_layout_multistep

Type: Filter

Filters whether the checkout uses the multi-step layout.

Signature​

apply_filters( 'fc_is_checkout_layout_multistep', $value );

Parameters​

NameTypeDescription
$valuestringValue to filter.

Since​

  • 1.2.0

Source: inc/checkout-steps.php

Examples​

add_filter( 'fc_is_checkout_layout_multistep',
/**
* Force multi-step layout for specific conditions.
*
* @param string $value Value to filter.
* @return string Filtered value.
*/
function( $value ) {
// Add your conditions here

return true;
},
10
);