Disabling ticket email to purchaser

Home Forums Ticket Products Event Tickets Plus Disabling ticket email to purchaser

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #410807
    notos123
    Participant

    I have found how to modify the language on the purchase receipt email for the EDD plugin but I would like to disable the separate email that sends tribe tickets to users and I can’t seem to find where to do that.
    Thank you

    #411636

    Hi,

    Thanks for taking the time to reach out to us here on the forums. In the EDD Tickets  plugin we use an action hook to send the ticket emails. To disable them you need to remove the action hook in your theme’s functions.php file using the following snippet:

    remove_action( 'eddtickets-send-tickets-email', array( 'TribeEDDTicketsEmail', 'trigger' ) );

    Please let me know if this works for you or if you have any follow-up questions.

    – Matthew

    #413782
    notos123
    Participant

    Ok, this is resolved but it stills says in the purchase confirmation email that tickets will be sent in another email. I am unable to edit this text from the backend. How do I remove this line of text?

    #435165

    Hi! Good news is much like the ticket email we have built in some filters that enable you to modify the message.  The below sample shows how you can remove the text from the email altogether but if desired you could put in additional content as well.

    function custom_remove_edd_message( $message) {
    return '';
    }
    add_filter( 'eddtickets_email_message', 'custom_remove_edd_message' );

    This snippet should also be added to your theme’s functions.php file.

    – Matthew

    #549933

    Hi, I wanted to quickly follow-up with you to see if you are all set or if you have further questions. Please let me know if you do have additional questions I can assist with or if I should go ahead and close this thread.

    Thank you,

    – Matthew

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Disabling ticket email to purchaser’ is closed to new replies.