function send_custom_emails_on_tour_booking($booking_id) { // Get booking details $booking = STBooking::find($booking_id); // Define recipients $recipients = ['[email protected]', '[email protected]']; // Email subject $subject = 'New Tour Booking'; // Email message $message = sprintf( "A new tour has been booked.\n\nBooking ID: %d\nTour Name: %s\nCustomer Name: %s\nCustomer Email: %s\n", $booking->ID, get_the_title($booking->tour_id), $booking->customer_name, $booking->customer_email ); // Headers $headers = ['Content-Type: text/plain; charset=UTF-8']; // Send email to each recipient foreach ($recipients as $recipient) { wp_mail($recipient, $subject, $message, $headers); } } // Hook into the booking process add_action('st_after_booking_created', 'send_custom_emails_on_tour_booking');
5 hours
Up to 1 day
99 people
English, French
Experience the ultimate Sandboarding Adventure in Agadir! Enjoy an unforgettable sandboarding journey through the Timlalin dunes, with a delicious lunch prepared by locals in Banana Village.
Travel an hour north of Agadir for sandboarding in true Moroccan desert style. Enjoy a scenic trip along the Atlantic Ocean coastline, passing through charming villages like Taghazout, Tamrakht, and Banana Village (Tamri). Arrive at the Timlalin sand dunes near Taboga Beach for your sand surfing experience. Expect to return to your hotel around 8:00 PM.
Conclusion: Don’t miss out on this extraordinary Sandboarding Adventure in Agadir! It’s a perfect blend of thrilling sand surfing, cultural experiences, and breathtaking scenery. Book your adventure today!
winline фрибет новым клиентам