cwcfp_export_csv_cols_

The cwcfp_export_csv_cols_ filter is actually not a complete name. Chances are you will need to use cwcfp_export_csv_cols_shop_order. The filter allows for the shop_order portion of the filter to be changed based on the export type. In standard usage, the export type will always be shop_order, however it is possible you could change this default behavior.

The filter returns an array of columns that will be included in the export file.

The columns are an array as follows:

$cols = array(
	'id'				=> 'ID',
	'date_created'			=> 'Date',
	'billing_first_name'		=> 'Billing First Name',
	'billing_last_name'		=> 'Billing Last Name',
	'billing_company'		=> 'Billing Company',
	'billing_address_1'		=> 'Billing Address 1',
	'billing_address_2'		=> 'Billing Address 2',
	'billing_city'			=> 'Billing City',
	'billing_state'			=> 'Billing State',
	'billing_postcode'		=> 'Billing Postcode',
	'billing_country'		=> 'Billing Country',
	'billing_email'			=> 'Billing Email',
	'billing_phone'			=> 'Billing Phone',
	'shipping_first_name'		=> 'Shipping First Name',
	'shipping_last_name'		=> 'Shipping Last Name',
	'shipping_company'		=> 'Shipping Company',
	'shipping_address_1'		=> 'Shipping Address 1',
	'shipping_address_2'		=> 'Shipping Address 2',
	'shipping_city'			=> 'Shipping City',
	'shipping_state'		=> 'Shipping State',
	'shipping_postcode'		=> 'Shipping Postcode',
	'shipping_country'		=> 'Shipping Country',
	'products'			=> 'Products',
	'customer_note'			=> 'Customer Note',
	'payment_method'		=> 'Payment Method',
	'order_status'			=> 'Order Status',
	'total'				=> 'Total',
	'currency'			=> 'Currency',
);