Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Controls the check for whether the billing address should be displayed before the shipping address in the checkout flow.
This filter modifies the return value of the is_billing_address_before_shipping_address()
method, but does not implement the actual reordering behavior itself. The actual step reordering is implemented by the fc_billing_step_hook_priority
filter in the PRO plugin, which changes the billing step priority from 30 to 15 when billing should come before shipping.
Parameters #
$is_before
(bool) Whether billing address comes before shipping address. Defaults tofalse
.
Examples #
/**
* Display billing address before shipping address
*/
add_filter( 'fc_is_billing_address_before_shipping_address', '__return_true', 10 );