Set woocommerce_defer_transactional_emails to false by default
This commit is contained in:
parent
180f5cd40b
commit
77d93a70e0
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue