woocommerce_calc_shipping_tax

woocommerce_calc_shipping_tax

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_calc_shipping_tax') is found 1 times:

  • /includes/class-wc-tax.php line 86
    	 * @return array
    	 */
    	public static function calc_shipping_tax( $price, $rates ) {
    		$taxes = self::calc_exclusive_tax( $price, $rates );
    		return apply_filters( 'woocommerce_calc_shipping_tax', $taxes, $price, $rates );
    	}
    
    	/**
    	 * Round to precision.
    	 *
    	 * Filter example: to return rounding to .5 cents you'd use: