woocommerce_cart_total_ex_tax

woocommerce_cart_total_ex_tax

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_cart_total_ex_tax') is found 1 times:

  • /includes/class-wc-cart.php line 1986
    1982
    1983
    1984
    1985
    1986
    1987
    1988
    1989
    1990
    1991
    1992
    *
     * @return string formatted price
     */
    public function get_total_ex_tax() {
        return apply_filters( 'woocommerce_cart_total_ex_tax', wc_price( max( 0, $this->get_total( 'edit' ) - $this->get_total_tax() ) ) );
    }
     
    /**
     * Gets the cart contents total (after calculation).
     *
     * @return string formatted price