Change which booking statuses are exportable

Use the woocommerce_bookings_export_statuses filter to control which booking post statuses are included in the export. By default, Bookings includes the statuses that are visible and relevant to admins, customers, and cancellation flows. The snippet below narrows the allowed set to confirmed and paid bookings, while still intersecting with the statuses Bookings made available.

add_filter(
	'woocommerce_bookings_export_statuses',
	function ( array $statuses ): array {
		$allowed_statuses = array_intersect( $statuses, array( 'confirmed', 'paid' ) );

		return array_values( $allowed_statuses );
	}
);
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.