woocommerce_calc_shipping_tax

woocommerce_calc_shipping_tax

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_calc_shipping_tax') is found 1 times:

  • /includes/class-wc-tax.php line 86
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    * @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: