Home › Forums › Ticket Products › Event Tickets Plus › Stop Ticket Email from Sending EDD
- This topic has 8 replies, 2 voices, and was last updated 10 years, 8 months ago by
Nico.
-
AuthorPosts
-
July 30, 2015 at 12:38 pm #991901
Ryan
ParticipantHey Guys,
We would like to disable the automated ticket email from sending after a purchase. We are using EDD. Using the information in this thread:
I was able to remove the text regarding tickets being sent in another email. But the remove_action to stop the ticket email from sending doesn’t work. Is there an updated version that can accomplish this?
Thanks!
Matt
July 31, 2015 at 6:57 am #992089Nico
MemberHi Matt,
Thanks for reaching out to us! Glad to help you out on this one also 🙂
Please try this updated version, the class name used there has changed:
remove_action( 'eddtickets-send-tickets-email', array( 'Tribe__Events__Tickets__EDD__Email', 'trigger' ) );
Please let me know if it works as expected,
Best,
NicoJuly 31, 2015 at 7:15 am #992108Ryan
ParticipantHey Nico,
I actually have already tried that as well – I went in to the EDD add-on and saw there was a new class so I gave that a shot and it is still firing off the ticket email.
Just to be safe I copy/pasted your code into my function.php, emptied my cache and tested again and I still received the ticket and purchase receipt.
Any other thoughts?
If you’d like access to the site to test as well as a coupon code to make some dummy purchases I’m happy to provide it.
Thanks,
Matt
August 3, 2015 at 4:42 pm #992923Nico
MemberHey Matt,
Thanks for the follow-up! Sorry for the delay on this. I must say I did the same but didn’t test it locally – shame on me!
Can you try this updated snippet? I’ve tested it this time and it works form me. Remove the other one and add this one to functions.php and give it a try:
add_filter( 'edd_email_ticket_receipt', '__return_false' );
Please let me know about it,
Best,
NicoAugust 3, 2015 at 5:16 pm #992928Ryan
ParticipantOnce again – you are the man. That did the trick. Thanks for the help Nico! We’re close to launch and wouldn’t be there without the great support!
Matt
August 3, 2015 at 5:24 pm #992930Nico
MemberHey Matt,
Thanks a lot for your kind words 🙂 Really glad to help you out!
I’ll be closing this thread but be sure to open a new one if anything comes up!
Best of luck with the project launch,
NicoAugust 3, 2015 at 5:31 pm #992931Nico
MemberThis reply is private.
August 4, 2015 at 4:55 am #992997Ryan
ParticipantThis reply is private.
August 4, 2015 at 6:22 am #993027Nico
MemberThis reply is private.
-
AuthorPosts
- The topic ‘Stop Ticket Email from Sending EDD’ is closed to new replies.
