WP Travel plugin provides the feature to remove the Gender field in the checkout so, if you want to remove the gender field which is available 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_gender( $checkout_fields ){

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

add_filter('wp_travel_checkout_fields', 'wp_travel_remove_gender' );

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

Before:

gender field

After removing the field:

remove gender field

To learn about filter hooks related to the checkout page, you can refer to the specific hook page.

Also, regarding removing the Gender 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_gender_booking_email', function(){
	 return false;
} );

To learn about filter hooks related to email, you can refer to the specific hook page.

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