Skip to main content

fc_checkout_column_layout

Type: Filter

Filters the checkout column layout slug.

Signature​

apply_filters( 'fc_checkout_column_layout', $current_value );

Parameters​

NameTypeDescription
$current_valuemixedCurrent value.

Since​

  • 4.2.0

Source: inc/checkout-steps.php

Examples​

add_filter( 'fc_checkout_column_layout',
/**
* Always use the one-column checkout layout.
*
* @param mixed $current_value Current value.
* @return mixed Filtered value.
*/
function( $current_value ) {
return 'one_column';
},
10
);