Tickets Email – Change Subject

Home Forums Ticket Products Event Tickets Plus Tickets Email – Change Subject

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1107035
    Vivianne
    Participant

    Hi!
    I tried to modify the subject line of the tickets email which is being sent with the code of this thread:

    Change email subject line

    But it doesn´t have any effect of the subject line.
    It still says “Your tickets from ….”.

    How can I change it?

    I am using Events Tickets Plus with Events Calendar Pro and WooCommerce.

    Greetings
    Vivianne

    #1107154
    George
    Participant

    Hey Vivianne,

    Thanks for reaching out. That subject should work for RSVPs without issue, but since you’re using Event Tickets Plus and thus premium tickets in addition to RSVPs, you would need to add code to your theme’s functions.php file like this:


    add_filter( 'wootickets_ticket_email_subject', 'new_example_subject' );

    function new_example_subject( $subject ) {
    return 'This is the new subject!';
    }

    I hope that helps!
    George

    #1108123
    Vivianne
    Participant

    Thanks a lot!
    Now it works perfectly! 🙂

    #1108528
    George
    Participant

    Nice! 😀

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Tickets Email – Change Subject’ is closed to new replies.