WC_Order::get_base_data()

Get basic order data in array format.


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/class-wc-order.php

	public function get_base_data() {
		return array_merge(
			array( 'id'     => $this->get_id() ),
			$this->data,
			array( 'number' => $this->get_order_number() )
		);
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.