Remove PDF attachment

Home Forums Ticket Products Event Tickets Plus Remove PDF attachment

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49713
    Paul
    Participant

    Hi,
    Im looking to remove the ticket pdf attached to emails sent out once the transaction is completed.

    Is it possible to override the function that adds the attachment, short of commenting out the code on lines 142 – 195 of class-wootickets.php?

    Thanks

    #49718
    Barry
    Member

    Ideally we shouldn’t touch core plugin code. Instead, can you try adding a snippet like this one to your theme’s functions.php file and see if that helps?

    #49721
    Paul
    Participant

    Thanks Barry,
    Unfortunately that doesnt seem to be working, the pdf is still attached to the completed order email.

    #49726
    Barry
    Member

    Oh 🙁 well let’s try one more time then: http://pastebin.com/rpbGjHh3

    #49728
    Paul
    Participant

    Barry, thats nailed it, thank you for your assistance with this.

    #49738
    Barry
    Member

    Happy to help!

    #979147
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Remove PDF attachment’ is closed to new replies.