Home / Disable / Disable Order Receipt Email Optimizations
Duplicate Snippet

Embed Snippet on Your Site

Disable Order Receipt Email Optimizations

In Easy Digital Downloads 3.2.0+, the Purchase Confirmation (or Receipt) email sent to customers is sent via WP Cron (a native WordPress feature that allows processes to run in the background to improve performance). If WP Cron is not working or your host has disabled WP Cron (or set your WP Cron only execute less often), you can ensure that these emails are delivered immediately with this snippet.

Note: This does remove the performance benefits of this change, so it is recommended that you contact your hosting company to ask to have your WP Cron configured to work normally.

Code Preview
add_filter( 'edd_use_after_payment_actions', '__return_false' );


Add a Comment