fc_pro_checkout_order_summary_collapsible_toggle_title_text

Table Of Contents

Back to list of all filter and action hooks for Fluid Checkout PRO.

Description #

Filters label of the order summary section title “Your cart — X item(s)” when displayed as a collapsible section before the checkout steps.

Parameters #

  • $text (string) – the title text that Fluid Checkout computed.
  • $cart_items_count (int) – the number of items in the cart.

Example #

/**
 * Always show a custom toggle title.
 */
function fc_collapsible_order_summary_title( $text, $cart_items_count ) {
    return sprintf( _n( 'Review your %d item', 'Review your %d items', $cart_items_count, 'your-text-domain' ), $cart_items_count );
}
add_filter( 'fc_pro_checkout_order_summary_collapsible_toggle_title_text', 'fc_collapsible_order_summary_title', 10, 2 );

What are your feelings

Updated on December 31, 2025