Hey guys, are you wondering how to Change the Default Country in the Booking Form?
Well, we have have detailed step-by-step guide provided below to change the Default Country in the Booking Form concisely with WP Travel.
You might be interested: What is On-Page Booking and How to execute it in WP Travel?
Table of contents
Steps to Change the Default Country in the Booking Form
Step 1: Use the filter code
If you want to change the default country displayed in the country field in the booking form of the checkout page then you can do so using the filter code.

For detail information regarding how to create a child theme, please refer to our Knowledgebase.
Step 2: Add given code in functions.php of your child theme
To change the default country in the booking form on the checkout page, please add the below-given code in the functions.php file of your child theme.
function wp_travel_customize_booking_form($fields) { $fields['traveller_fields']['country']['default'] = 'NL'; $fields['billing_fields']['country']['default'] = 'NL'; return $fields; } add_filter( 'wp_travel_checkout_fields', 'wp_travel_customize_booking_form', 99 );
Note: The default country field in the Traveller form will only be changed in case of activation of the WP Travel Pro plugin.
Please replace the “NL” country code with the required country code.
After:

Conclusion
If you liked this article, then subscribing to our YouTube Channel for WordPress video tutorials would be the cherry on top.
You can also find us on Facebook, Instagram, Linkedin, TikTok, Pinterest, Reddit, and our dedicated engaging Facebook user community,
Further, if you have any queries, please submit them to our Contact page.
Get WP Travel Pro and start creating your travel and tour booking website within minutes without any hassle of coding.

WP Travel is Best Travel Booking WordPress Plugin, a Free and Powerful Tour Management Engine (available in the PRO version with additional features) for making customized travel agency or tour operator websites on WordPress in minutes!