Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::get_all_order_column_mappings()publicWC 1.0

Return combined mappings for all order tables.

{} Это метод класса: OrdersTableDataStore{}

Хуков нет.

Возвращает

Массив|\Массив[][][]. Return combined mapping.

Использование

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

Код OrdersTableDataStore::get_all_order_column_mappings() WC 6.6.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;
}