If you are thinking about whether WP Travel includes the feature to remove the “Date of Birth” field in the traveler form on the checkout page then do not worry as WP Travel plugin provides the feature regarding removing the date of birth in the traveler form on the checkout page.

To remove “Date of birth” in the traveler form on the checkout page, please add the following given code in the functions.php file of your child theme.

function wp_travel_remove_dob( $checkout_fields ){

	unset( $checkout_fields['traveller_fields']['dob'] );
	return $checkout_fields;
}

add_filter('wp_travel_checkout_fields', 'wp_travel_remove_dob' );

For detail information regarding how to create a child theme, please refer to our Knowledgebase.

Remove Date of Birth Field:

Remove "Date of Birth" field

Also, if you want to learn more about the filter hook that is used to remove fields on the checkout page, please once refer specific hook page.

Also, regarding removing the Date of Birth field from the email please add the following given filter code in the functions.php file of your child theme.

add_filter( 'wp_travel_enable_traveller_dob_booking_email', function()
{ return false; } );

Check the WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.

Your feedback helps us improve. Feel free to share your thoughts!

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.

You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.

If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

Get WP Travel Pro