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 following given code in 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' );

Before:

gender field

After removing field:

remove gender field

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

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