woocommerce_cart_get_taxes

woocommerce_cart_get_taxes

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_cart_get_taxes') is found 1 times:

  • /includes/class-wc-cart.php line 591
    	 *
    	 * @return array merged taxes
    	 */
    	public function get_taxes() {
    		return apply_filters( 'woocommerce_cart_get_taxes', wc_array_merge_recursive_numeric( $this->get_shipping_taxes(), $this->get_cart_contents_taxes(), $this->get_fee_taxes() ), $this );
    	}
    
    	/**
    	 * Returns the contents of the cart in an array.
    	 *
    	 * @return array contents of the cart