Modify the default export columns

Use the woocommerce_bookings_export_default_columns filter when the export needs a different set of columns than the defaults. The filter receives the full column map, where each key is the exported field ID and each value is the label shown in the generated CSV. The snippet below adds a custom column and removes the Google Calendar event ID column so the export matches a custom reporting format.

add_filter(
	'woocommerce_bookings_export_default_columns',
	function ( array $columns ): array {
		// Add a custom column to the export.
		$columns['my_custom_field'] = __( 'My Custom Field', 'my-plugin' );

		// Remove an existing column from the export.
		unset( $columns['google_calendar_event_id'] );

		return $columns;
	}
);
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.