Disable deferred/transaction email sending

WooCommerce 3 now defers sending of emails such as the new order emails. The idea that moving them out from the procedural code allows for faster checkouts in many environment. Nice.

If for some reason you want to disable this feature, add the following to your functions file

add_filter( 'woocommerce_defer_transactional_emails', '__return_false' );


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.