Since the WPForms version 1.5.9, asynchronously tasks are used to send email notifications. Asynchronous tasks, also known as background processing, is where data can be transmitted intermittently rather than in a steady stream. These tasks can delay notifications on sites that have low traffic. If you would like to disable these tasks, this tutorial will walk you through the code snippet needed to turn this functionality off.
To disable these tasks, copy the code snippet to your site.
/** * Disable form notifications sending asynchronously. * * @link https://wpforms.com/developers/how-to-disable-the-background-processing-for-sending-email-notifications/ * */ add_filter( 'wpforms_tasks_entry_emails_trigger_send_same_process', '__return_true' );
And that’s it! You’ve now disabled the background processing tasks. Would you like to show all form fields (including empty ones) inside your email notifications? Take a look at our tutorial on How to Show Empty Form Fields in Email Notifications.
Filter Reference: wpforms_tasks_entry_emails_trigger_send_same_process