woocommerce_calc_tax

woocommerce_calc_tax

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_calc_tax') is found 1 times:

  • /includes/class-wc-tax.php line 74
    			$taxes = self::calc_inclusive_tax( $price, $rates );
    		} else {
    			$taxes = self::calc_exclusive_tax( $price, $rates );
    		}
    		return apply_filters( 'woocommerce_calc_tax', $taxes, $price, $rates, $price_includes_tax, $deprecated );
    	}
    
    	/**
    	 * Calculate the shipping tax using a passed array of rates.
    	 *
    	 * @param float $price Shipping cost.