Hide or Delete “Date of Birth” in Traveller fields

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #29261

    Is possible Hide or Delete “Date of Birth” in Traveller fields?
    I have used for others field this code, but for “Date of Birth” I dont found the correct code.

    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’ );

    How can I change it?
    Thank you!

Viewing 1 post (of 1 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.