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.

Further, if you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on FacebookInstagram, and Twitter.

Additionally, if you have any queries, please submit them to our Contact page.

create your travel site within minutes by wptravel.io ,buy wptravel pro