From 1d076cbec5d787c8b8a7c112fd6ebd3b7e3f9c20 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 1 Feb 2017 20:08:51 +0100 Subject: [PATCH] Trigger for emails --- woocommerce.php | 1 + 1 file changed, 1 insertion(+) diff --git a/woocommerce.php b/woocommerce.php index a1b59eb2a9e..21c5829350f 100644 --- a/woocommerce.php +++ b/woocommerce.php @@ -174,6 +174,7 @@ final class WooCommerce { add_action( 'init', array( $this, 'init' ), 0 ); add_action( 'init', array( 'WC_Shortcodes', 'init' ) ); add_action( 'init', array( 'WC_Emails', 'init_transactional_emails' ) ); + add_action( 'send_queued_transactional_email', array( 'WC_Emails', 'send_queued_transactional_email' ), 10, 2 ); add_action( 'init', array( $this, 'wpdb_table_fix' ), 0 ); add_action( 'switch_blog', array( $this, 'wpdb_table_fix' ), 0 ); }