woocommerce_tax_round

woocommerce_tax_round

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_tax_round') is found 1 times:

  • /includes/class-wc-tax.php line 103
    099
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    * @param float|int $in Value to round.
     * @return float
     */
    public static function round( $in ) {
        return apply_filters( 'woocommerce_tax_round', NumberUtil::round( $in, wc_get_rounding_precision() ), $in );
    }
     
    /**
     * Calc tax from inclusive price.
     *
     * @param  float $price Price to calculate tax for.

See this hook used in plugins: