WC_Cart::get_cart_total()
Gets the cart contents total (after calculation).
Description Description
Return Return
(string) formatted price
Source Source
File: includes/class-wc-cart.php
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() ) ); }