Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function removeWooTicketsPDFs() {
- $pdfCallback = array(TribeWooTickets::get_instance(), 'add_PDF_to_email');
- remove_filter('woocommerce_email_attachments', $pdfCallback, 10);
- }
- add_action('plugins_loaded', 'removeWooTicketsPDFs', 20);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement