Last active
November 14, 2015 00:44
-
-
Save theeventscalendar/efd17a666727e4269ec1 to your computer and use it in GitHub Desktop.
WooCommerce Tickets 3.12.1 // Disable ticket email from sending
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Plugin Name: WooCommerce Tickets: Disable Ticket Emails | |
Description: Turns off ticket emails that are automatically sent from WooCommerce Tickets | |
Version: 1.0 | |
**/ | |
function wootickets_email_no_no() { | |
return 'no'; | |
} | |
add_filter( 'wootickets-tickets-email-enabled', 'wootickets_email_no_no' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment