Back to list of all filter and action hooks for Address Book for WooCommerce.
Description #
Controls the initial state of the shipping calculator, whether to make it initially expanded or collapsed.
Boolean value true or false to determine whether the shipping calculator should be initially expanded or collapsed.
Parameters #
$is_expanded(bool) Whether calculator should be initially expanded. Defaults tofalse, collapsed.
Examples #
/**
* Initially expand shipping calculator on cart page.
*/
add_filter( 'fc_pro_cart_shipping_calculator_initially_expanded', '__return_true', 10 );
