WordPress at a glance
function is not described

WC_Abstract_Order::get_line_subtotal() public WC 1.0

Get line subtotal - this is the cost before discount.

{} It's a method of the class: WC_Abstract_Order{}

Return

float. Nothing.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_line_subtotal( $item, $inc_tax, $round );
$item(object) (required)
Item to get total from.
$inc_tax(true|false)
(default: false).
$round(true|false)
(default: true).

Code of WC_Abstract_Order::get_line_subtotal() WC 5.3.0

<?php
public function get_line_subtotal( $item, $inc_tax = false, $round = true ) {
	$subtotal = 0;

	if ( is_callable( array( $item, 'get_subtotal' ) ) ) {
		if ( $inc_tax ) {
			$subtotal = $item->get_subtotal() + $item->get_subtotal_tax();
		} else {
			$subtotal = $item->get_subtotal();
		}

		$subtotal = $round ? NumberUtil::round( $subtotal, wc_get_price_decimals() ) : $subtotal;
	}

	return apply_filters( 'woocommerce_order_amount_line_subtotal', $subtotal, $this, $item, $inc_tax, $round );
}