Modify the default column auto-mapping

Use the woocommerce_bookings_csv_import_mapping_default_columns filter to adjust the importer’s automatic CSV header mapping. This is helpful when a source system exports a familiar value under a custom column label. The snippet below maps a header named My Start Column to the internal start field only when that header exists in the uploaded CSV.

add_filter(
	'woocommerce_bookings_csv_import_mapping_default_columns',
	function ( array $columns, array $raw_headers ): array {
		if ( in_array( 'My Start Column', $raw_headers, true ) ) {
			$columns['My Start Column'] = 'start';
		}

		return $columns;
	},
	10,
	2
);
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.