Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::get_all_order_column_mappings()publicWC 1.0

Return combined mappings for all order tables.

Method of the class: OrdersTableDataStore{}

No Hooks.

Return

Array|\Array[][][]. Return combined mapping.

Usage

$OrdersTableDataStore = new OrdersTableDataStore();
$OrdersTableDataStore->get_all_order_column_mappings();

OrdersTableDataStore::get_all_order_column_mappings() code WC 7.1.1

public function get_all_order_column_mappings() {
	if ( ! isset( $this->all_order_column_mapping ) ) {
		$this->all_order_column_mapping = array(
			'orders'           => $this->order_column_mapping,
			'billing_address'  => $this->billing_address_column_mapping,
			'shipping_address' => $this->shipping_address_column_mapping,
			'operational_data' => $this->operational_data_column_mapping,
		);
	}

	return $this->all_order_column_mapping;
}