Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Created April 7, 2017 11:34
Show Gist options
  • Save mikejolley/16ca078f5c74b401e6ba210644e3173d to your computer and use it in GitHub Desktop.
Save mikejolley/16ca078f5c74b401e6ba210644e3173d to your computer and use it in GitHub Desktop.
WooCommerce 3.0 - Disable deferred email sending
<?php // Do not include this if already open!
/**
* Code goes in theme functions.php.
*/
add_filter( 'woocommerce_defer_transactional_emails', '__return_false' );
@Jaxamilah
Copy link

Hi guys,
Suddenly I'm not receiving emails from my shop/website. Cld you tell me pls the steps to take to fix it?
Thank you so much
Jax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment