Set woocommerce_defer_transactional_emails to false by default

This commit is contained in:
Mike Jolley 2017-04-13 14:22:33 +01:00
parent 180f5cd40b
commit 77d93a70e0
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class WC_Emails {
'woocommerce_created_customer',
) );
if ( apply_filters( 'woocommerce_defer_transactional_emails', true ) ) {
if ( apply_filters( 'woocommerce_defer_transactional_emails', false ) ) {
self::$background_emailer = new WC_Background_Emailer();
foreach ( $email_actions as $action ) {