LogoLogo
WordPress.orgExtensionsSupport
Version 9
Version 9
  • Notification – Custom Notifications and Alerts for WordPress
  • Updating to v9
  • Known issues
  • πŸ€Έβ€β™€οΈ User guide
    • Update broke my site
    • How Notification plugin works
    • Who can use this plugin
    • How to create Notifications
    • Troubleshooting
    • Advanced
      • How to escape { character
      • Background processing
      • How to setup different FROM address for different Notifications
      • Custom Post Type support
      • Disable upselling
      • How to send HTML Emails
  • πŸ”§Developer
    • General
      • Plugin loading chain
      • Runtime
      • Extension possibilities
      • Creating an extension
      • Customizations
      • Bundling Notification plugin
      • White label mode
    • Notifications
      • Suppressing the Notification
      • JSON synchronization
      • Programmatic Notifications
    • Triggers
      • List of all default Triggers
      • Custom Trigger
      • Enable support for non-public Custom Post Type
      • Adding Merge Tags to existing Triggers
    • Carriers
      • Custom Carrier
      • Adding custom fields to Carrier form
      • Suppressing the Carrier
    • Recipients
      • Custom Recipient
    • Snippets
      • General
        • Automatic Trigger testing
        • Allow other roles to edit Notifications
        • Programmatic Notification with manual Trigger
        • Background Processing filter
      • Triggers
        • Post
        • User
      • Integations
        • WP All Import
        • MemberPress
  • 🧩Extensions
    • Installation
    • Planned extensions
    • 3rd Party Extensions
    • Custom Fields
      • v2.2
      • v1.4
      • v1.3
    • Conditionals
    • Email Attachments
    • Push
    • Scheduled Triggers
    • Slack
    • Twilio
    • Webhooks
Powered by GitBook
On this page

Was this helpful?

  1. πŸ€Έβ€β™€οΈ User guide
  2. Advanced

Background processing

The background processing feature allows you to process the carriers in the background, using WP Cron feature. This means while doing an action with should trigger the notification, instead waiting for the process to finish (and ie. send 100k emails) the action is loaded in the cron, and executed in the next cron call.

It's particularly helpful to distribute the server load but it also resolves the Gutenberg issue, where wrong custom fields or taxonomies were included in the notification.

To enable this feature navigate to Notification -> Settings and in Advanced section, check the Background processing checkbox. From now on, the actions will be executed via cron.

Enabling this feature can cause a slight delay with the notification sending, up to a few minutes. This is because WP Cron is dependent on the website traffic, so the more visitors you have, the ealier it will be executed. You can hook it into the server task scheduler as well.

PreviousHow to escape { characterNextHow to setup different FROM address for different Notifications

Last updated 6 months ago

Was this helpful?