I develop a site something close to airbnb, where customers can make a reservation on the accommodations using the WooCommerce Bookings plug-in. When booking a reservation, a confirmation of availability is being checked by the admins, once the administrator has confirmed availability, I would like to use a custom email template that sends an email to the owner of the accommodation.
The owner’s email associated with the accommodation is stored on each individual accommodation as a custom field.
What I want to accomplish is the ability to create an custom email template that goes out to the right owner when the accommodation is verified by admin.
Question: How do I create my own template and what hook do I use?
Read more here: WooCommerce Bookings Custom Email Template for Non Admin Users