WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Overrides

Order::get_data_without_line_items() public WC 1.0

Get only core class data in array format.

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

No Hooks.

Return

Array. Nothing.

Usage

$Order = new Order();
$Order->get_data_without_line_items();

Code of Order::get_data_without_line_items() WC 5.3.0

<?php
public function get_data_without_line_items() {
	return array_merge(
		array(
			'id' => $this->get_id(),
		),
		$this->data,
		array(
			'number'         => $this->get_order_number(),
			'meta_data'      => $this->get_meta_data(),
		)
	);
}