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 ); }