Add custom rows to the export form

Use the woocommerce_bookings_export_row action to add fields to the Export Bookings options table. Any field added here should be paired with export-handling code that reads and validates the submitted value before changing export behavior. The snippet below adds one checkbox row and uses escaped, translatable label output for the field text.

add_action(
	'woocommerce_bookings_export_row',
	function (): void {
		?>
		<tr>
			<th scope="row">
				<label for="my-custom-option"><?php esc_html_e( 'My Option', 'my-plugin' ); ?></label>
			</th>
			<td>
				<input type="checkbox" id="my-custom-option" name="my_custom_option" value="1" />
			</td>
		</tr>
		<?php
	}
);
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.