woocommerce_order_amount_line_tax

woocommerce_order_amount_line_tax

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_order_amount_line_tax') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2093
    	 * @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.