woocommerce_order_amount_line_tax, is_callable( array( $item, get_total_tax
woocommerce_order_amount_line_tax, is_callable( array( $item, get_total_tax
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_order_amount_line_tax, is_callable( array( $item, get_total_tax') is found 1 times:
- /includes/abstracts/abstract-wc-order.php line 2331
* @param mixed $item Item to get total from. * @return float */ 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 ); } /** * Gets line subtotal - formatted for display. * * @param object $item Item to get total from.