Back to list of all filter and action hooks for Fluid Checkout PRO.
Description #
Filters the initial state of the order summary collapsible section.
Parameters #
$initial_state(string) The current initial state for the collapsible order summary section. Acceptscollapsedorexpanded. Defaults tocollapsedin most cases.
Example #
/**
* Force the collapsible order summary to start expanded.
*/
function fc_pro_order_summary_collapsible_force_expanded( $initial_state ) {
return 'expanded';
}
add_filter( 'fc_pro_checkout_order_summary_collapsible_initial_state', 'fc_pro_order_summary_collapsible_force_expanded', 100 );
