So, are you looking forward to “How to enable email when the booking status is changed?”

Well, the WP Travel / WP Travel Pro plugin provides various email templates that will be received during booking only and booking with payments.

With the release of WP Travel v7.6.0, the function has been added, so that when the admin changes the booking status email will be sent to the customer.

You might be interested: How to set up On-Page booking in WP Travel?

Steps to enable email notification when the booking status is changed:

Step 1: Add the following code to the functions.php file

So, to enable the email function, please add the following code to the functions.php file of your child theme.

add_filter( 'wp_travel_change_booking_status_mail_sending', function(){
    return true;
} );

For detailed information on creating a child theme, please refer to our Knowledgebase.

As an example in the email, we have changed the booking status from pending to Booked.

Step 2: You can test if it’s working properly with all booking status

Email received by the customer

Also, if you want to learn more about the filter hook related to the email, please refer specific hook page.


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 FacebookInstagram, Twitter, LinkedinTikTokPinterestReddit, 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.

get WP Travel Pro