WC_Abstract_Order::get_line_tax( mixed $item )
Get line tax – useful for gateways.
Description Description
Parameters Parameters
- $item
-
(Required) Item to get total from.
Return Return
(float)
Source Source
File: includes/abstracts/abstract-wc-order.php
public function get_line_tax( $item ) { return apply_filters( 'woocommerce_order_amount_line_tax', is_callable( array( $item, 'get_total_tax' ) ) ? wc_round_tax_total( $item->get_total_tax() ) : 0, $item, $this ); }