woocommerce_order_amount_line_total

woocommerce_order_amount_line_total

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_order_amount_line_total') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2065
    			// Check if we need to round.
    			$total = $round ? NumberUtil::round( $total, wc_get_price_decimals() ) : $total;
    		}
    
    		return apply_filters( 'woocommerce_order_amount_line_total', $total, $this, $item, $inc_tax, $round );
    	}
    
    	/**
    	 * Get item tax - useful for gateways.
    	 *
    	 * @param mixed $item Item to get total from.