woocommerce_cart_totals_order_total_html
Usage
add_filter( 'woocommerce_cart_totals_order_total_html', 'wp_kama_woocommerce_cart_totals_order_total_html_filter' );
/**
* Function for `woocommerce_cart_totals_order_total_html` filter-hook.
*
* @param $value
*
* @return
*/
function wp_kama_woocommerce_cart_totals_order_total_html_filter( $value ){
// filter...
return $value;
}
- $value
- -
Where the hook is called
woocommerce_cart_totals_order_total_html
woocommerce/includes/wc-cart-functions.php 360
echo apply_filters( 'woocommerce_cart_totals_order_total_html', $value ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped