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.


Top ↑

Return Return

(float)


Top ↑

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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.