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.

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