diff --git a/includes/wc-cart-functions.php b/includes/wc-cart-functions.php index 6aa5a9ba281..22af5903ecc 100644 --- a/includes/wc-cart-functions.php +++ b/includes/wc-cart-functions.php @@ -169,6 +169,16 @@ function wc_cart_totals_shipping_html() { } } +/** + * Get taxes total + * + * @access public + * @return void + */ +function wc_cart_totals_taxes_total_html() { + echo apply_filters( 'woocommerce_cart_totals_taxes_total_html', wc_price( WC()->cart->get_taxes_total() ) ); +} + /** * Get a coupon label * diff --git a/templates/cart/cart-totals.php b/templates/cart/cart-totals.php index ffe2439b07e..f534a2f7ec7 100644 --- a/templates/cart/cart-totals.php +++ b/templates/cart/cart-totals.php @@ -57,7 +57,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly