Back to list of all filter and action hooks for Fluid Checkout PRO.
Description #
Filters the initial state of the order summary amount text on the order summary when displayed as a collapsible section before the checkout steps.
Parameters #
$amount_text(string) – the amount HTML/text that Fluid Checkout has formatted.
Example #
/**
* Prefix the order total with “Total:”.
*/
function fc_collapsible_order_summary_amount( $amount_text ) {
return 'Total: ' . $amount_text;
}
add_filter( 'fc_pro_checkout_order_summary_collapsible_toggle_amount_text', 'fc_collapsible_order_summary_amount', 10 );
