Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable PDF Tickets getting attached to emails
<?php
/**
* Disable PDF Tickets getting attached to emails.
*
* @link https://gist.github.com/cliffordp/d6fb957958a73a11f171e5b9c7406938/edit
* @link https://theeventscalendar.com/extensions/pdf-tickets/
*/
add_filter( 'tribe_ext_pdf_tickets_attach_to_email', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment