Adding exclude dates for all your trips in WP Travel is a feature that helps you manage your availability effectively, preventing bookings on specific dates.
Additionally, you can add fixed departure dates and trip durations for the trips you add.
WP Travel is a WordPress tour operator plugin for travel and tour agencies to create and publish outstanding tour and travel packages, build detailed itineraries, take tour bookings, receive and process online payments, and much more.
With the latest version, WP Travel v8.4.0, you can now exclude dates for all trips.
If you want to block bookings for particular dates, such as May 1st of 2024 and May 15th of 2025, you can use a function code or simply add it through code snippets.

To block the booking for the specific date, please add the following code in the functions.php file of your child theme.
add_filter( 'wptravel_exclude_booking_dates', function( $excluded_dates ){
$excluded_dates = array(
'05/01/2024', // Month/Date/Year
'05/15/2025'
);
return $excluded_dates;
} );
If you need more information on creating a child theme, please check out our knowledge base.

Additionally, if you want to learn more about the filter hook available in the WP Travel plugin, refer to the 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.

WP Travel Editorial is a team of WordPress and travel industry experts dedicated to delivering technical resources, travel business guides, and general travel insights. With over 10 years of experience, the team provides in-depth release notes, feature updates, and informative articles to help tour operators and travel enthusiasts succeed in the evolving travel landscape.
From plugin updates and industry trends to practical travel resources, WP Travel Editorial shares valuable content that supports both the travel industry and avid travelers.






