Admin notification

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 3 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #39198

    Hello,

    the admin notification mail currently only includes the event title, as well as start and end dates. Is it possible to also include additional details, such as event url?

    Best regards

    Staatsbibliothek zu Berlin
    #39223

    Hi, there are two filters for the email body:

    • eventorganiser_notify_new_booking_message (admin notification sent when a new booking is created)
      • eventorganiser_notify_confirmed_booking_message (admin notification sent when booking is confirmed, if enabled)

    You can use that filter to change the default template. In particular all the event tags here are supported: http://docs.wp-event-organiser.com/bookings/emailing-attendees/ including %event_url% for the event url.

    E.g.

    add_filter('eventorganiser_notify_confirmed_booking_message', function($message, $booking_id ){
     //This will over-ride the default email content:
     $new_message = "Booking made for %event_url%";
     return $new_message;
    });
    
    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.