In this release, you’ll find a feature that allows you to exclude specific dates from bookings with the WP Travel plugin v8.4.0.

WP Travel Pro v7.4.0 has introduced a feature to enhance your Elementor base theme experience: the addition of an add-to-cart shortcode.

Additionally, there is another feature where users can now customize the content of download itinerary emails.

Changelog

WP Travel v8.4.0 Key-Takeaways

Enhancements:

  • Added hook to set exclude date

Fixes:

  • Fixed plugin security issues
  • Fixed undefined variable issues
  • Fixed the booking status issue of the dashboard booking widget
  • Fixed low-high pricing filter issue on trip filter shortcode

WP Travel v8.4.0: New Updated Features

1. Added hook to set exclude date

The latest version of the WP Travel plugin, v8.4.0, has introduced a handy feature in this release that allows you to set excluded dates.

The new hook allows users to easily specify which dates they want to exclude from booking availability.

Users can now set an excluded date by simply adding the code listed below.

add_filter( 'wptravel_exclude_booking_dates', function( $excluded_dates ){
	$excluded_dates = array(
		'03/25',
		'04/13'
	);
	return $excluded_dates;
} );

Learn more: How To Add Exclude Dates For All The Trips?

2. Fixed low-high pricing filter issue on trip filter shortcode

In the WP Travel plugin v8.4.0, an issue with the pricing filter on our trip filter shortcode has been addressed.

Previously, users experienced difficulties with the pricing filter functionality.

With this fix, customers can now smoothly adjust pricing preferences from low to high without any difficulties.

WP Travel ‘v8.3.0’ vs ‘v8.4.0’

WP Travel v8.3.0WP Travel v8.4.0
❌ No option to set exclude date✔️ Added hook to set an exclude date
❌ Minor plugin security issues✔️ Fixed plugin security issues
❌ Found undefined variable issues✔️ Fixed undefined variable issues
❌ Issue related to the booking status of the dashboard booking widget ✔️ Fixed the booking status issue of the dashboard booking widget
❌ Issue with low-high pricing filter on trip filter shortcode ✔️ Fixed low-high pricing filter issue on trip filter shortcode
WP Travel ‘v8.3.0’ vs ‘v8.4.0’

WP Travel Pro v7.4.0 Key-Takeaways

Enhancements:

  • Added add-to-cart shortcode [wptravel_cart_icon] for Elementor base theme
  • Added hook to change download itinerary email content
  • Added hook to change download itinerary email subject

Fixes:

  • Fixed plugin general issues
  • Fixed issue on version_compare() function
  • Optimized module setting code
  • Replaced the text domain of all individual modules with ‘wp-travel-pro’
  • Clear all unwanted consoles
  • Added condition to show stripe card input field only when stripe payment is selected as payment gateway

WP Travel Pro v7.4.0: New Updated Features

1. Added add-to-cart shortcode [wptravel_cart_icon] for Elementor base theme

WP Travel Pro has introduced a valuable enhancement in v7.4.0: a new shortcode, designed to seamlessly integrate with the Elementor base theme.

This shortcode enables users to conveniently add a cart icon directly within their Elementor pages.

This enhancement simplifies the process of integrating cart functionality into your website, offering a smoother and more intuitive user experience.

2. Added hook to change download itinerary email content

Additionally, we implemented a new feature in the update of WP Travel Pro that allows users to customize the content of the download itinerary email.

With the added hook, users can now modify the email body as per their requirements.

This enhancement enhances the overall user experience by providing more control over communication with customers regarding trip itineraries.

Users can now change the download itinerary email content by adding the code below.

function wptravel_change_download_attachment_mail_content( $body, $trip_url, $trip_info, $downloadable_link ) {
    return "Hello,<br><br>You have received NEW CUSTOMIZE  <a href='{$trip_url}'>{$trip_info}</a> attachments INFORMATIONS. Please find the attachment link below. <br>" . $downloadable_link . "<br>Thank You";
}
add_filter( 'wptravel_download_attachment_mail_content', 'wptravel_change_download_attachment_mail_content', 10, 4 );

Learn More: How to Customize Email Templates for the Download Email?

3. Added hook to change download itinerary email subject

WP Travel Pro v7.4.0 introduced a new feature that allows users to customize the subject line of the download itinerary email.

With the addition of a simple hook, users can now modify the email subject to better suit their needs.

Users can now change the download itinerary email subject by adding the code below.

function wptravel_change_download_attachment_mail_subject( $subject, $trip_info ) {
    return  $trip_info . 'New Email Subject';
}
add_filter( 'wptravel_download_attachment_mail_subject', 'wptravel_change_download_attachment_mail_subject', 10, 4 );

WP Travel Pro ‘v7.3.0’ vs ‘v7.4.0’

WP Travel Pro v7.3.0WP Travel Pro v7.4.0
❌ No shortcode for cart: [wptravel_cart_icon]✔️ Added shortcode for cart: [wptravel_cart_icon]
❌ There was no hook to change the download itinerary email content✔️ Added hook to change download itinerary email content
❌ There was no hook to change the download itinerary email subject✔️ Added hook to change download itinerary email subject
❌ Slight issue with the plugin general✔️ Fixed plugin general issues
❌ Issue with the version_compare() function✔️ Fixed issue on version_compare() function
❌ No optimization was implemented, resulting in a complex code.✔️ Replaced the text domain of all individual modules with ‘wp-travel-pro’
❌ There was an unwanted console.✔️ Clear all unwanted consoles
❌ There was no condition to show the stripe card input field only when stripe payment is selected as the payment gateway ✔️ Added condition to show the stripe card input field only when stripe payment is selected as the payment gateway
WP Travel Pro ‘v7.3.0’ vs ‘v7.4.0’

Conclusion

So, the above enhancements and fixes have been brought out successfully in WP Travel v8.4.0 and WP Travel Pro v7.4.0, respectively

Recommended: WP Travel documentation to learn more about configurations, modules, payments, shortcodes, and the WP Travel Rest API.

We provide a free-plan service that includes the most prominent features, which are listed below:

  • Unlimited Trips
  • Trip Booking
  • Multiple Pricing and Dates
  • Gallery
  • Partial Payment
  • Google Map
  • Standard Paypal

Try For Free👉

For an additional premium service that includes advanced features, which are listed below:

  •  Unlimited Trips
  • Trip Booking
  • Multiple Pricing and Dates
  • Advanced Gallery
  • Advanced Partial Payment
  • Google Map
  • Standard Paypal
  • Group Discounts
  • Downloads
  • Import/Export
  • Trip Weather

And many more….

Get WP Travel Pro 👉

WP Travel Every Earlier Update: Release Notes

Learn more:

WP Travel Plugin- Version 8.3.0 2024 Update: Release Notes

WP Travel plugin release notes updates: Earlier Versions

create your travel site within minutes by wptravel.io ,buy wptravel pro