WC_Order::get_base_data()
Get basic order data in array format.
Method of the class: WC_Order{}
No Hooks.
Return
Array
.
Usage
$WC_Order = new WC_Order(); $WC_Order->get_base_data();
WC_Order::get_base_data() WC Order::get base data code WC 9.6.1
public function get_base_data() { return array_merge( array( 'id' => $this->get_id() ), $this->data, array( 'number' => $this->get_order_number() ) ); }