woocommerce_cart_contents_total, wc_price( wc_prices_include_tax(
woocommerce_cart_contents_total, wc_price( wc_prices_include_tax(
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_cart_contents_total, wc_price( wc_prices_include_tax(') is found 1 times:
- /includes/class-wc-cart.php line 2301
* * @return string formatted price */ public function get_cart_total() { return apply_filters( 'woocommerce_cart_contents_total', wc_price( wc_prices_include_tax() ? $this->get_cart_contents_total() + $this->get_cart_contents_tax() : $this->get_cart_contents_total() ) ); } /** * Gets the sub total (after calculation). * * @param bool $compound whether to include compound taxes.