fc_pro_checkout_order_summary_collapsible_toggle_amount_text
Type: Filter
Filters the text for checkout order summary collapsible toggle amount.
Signature
apply_filters( 'fc_pro_checkout_order_summary_collapsible_toggle_amount_text', $cart_total );
Parameters
| Name | Type | Description |
|---|---|---|
$cart_total | string | The cart total. |
Since
4.0.0
Source: inc/checkout-order-summary.php
Examples
add_filter( 'fc_pro_checkout_order_summary_collapsible_toggle_amount_text',
/**
* Prefix the order total with “Total:”.
*
* @param string $cart_total The cart total.
* @return string Filtered value.
*/
function( $cart_total ) {
return 'Total: ' . $cart_total;
},
10
);