Changing subject in confirmation emails

WordPress Event Management, Calendars & Registration Forums General Question Changing subject in confirmation emails

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

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

    Hi,

    Can you please let me know how to change the subject line in the confirmation email. I’ve looked everywhere, as has my web designer and developer, and we cannot find how to change it.

    Thanks,
    Jane

    Jane Spivey
    #21940

    Hi Jane,

    I responded to your e-mail last week, but it sounds like you didn’t receive it.

    The subject text itself is set in includes/booking-actions.php (around line 197 on the latest version), but you can change it with the following:

    add_filter( 'eventorganiser_booking_confirmed_email_subject', function(){
         return 'Thanks for your booking!';
    } );
    

    and putting that in site utility plug-in (preferably – but it will still work if placed in your theme’s functions.php. See this article: http://wp-event-organiser.com/blog/tutorial/where-should-i-put-code-from-the-tutorials/)

    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.