fc_pro_checkout_order_summary_collapsible_initial_state

Table Of Contents

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. Accepts collapsed or expanded. Defaults to collapsed in 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 );

What are your feelings

Updated on December 31, 2025