woocommerce_order_amount_item_tax

woocommerce_order_amount_item_tax

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_amount_item_tax') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2110
    			$tax = $item->get_total_tax() / $item->get_quantity();
    			$tax = $round ? wc_round_tax_total( $tax ) : $tax;
    		}
    
    		return apply_filters( 'woocommerce_order_amount_item_tax', $tax, $item, $round, $this );
    	}
    
    	/**
    	 * Get line tax - useful for gateways.
    	 *
    	 * @param mixed $item Item to get total from.