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.5.1

apply_filters('woocommerce_tax_round') is found 1 times:

  • /includes/class-wc-tax.php line 103
    	 * @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: