Digest

Updated

The Digest add-on for Better Notifications for WP allows you to group multiple notifications of the same type that were due to be sent out individually into a single notification that can be sent out once hourly, daily, weekly, or monthly.

After installing and activating the add-on, you’ll see two new options when creating or editing a compatible notification. These are:

  • Digest Frequency: No Digest, Hourly, Daily, Weekly, Monthly
  • Digest Subject: This will be the subject of the digest email.

Once a notification is set as a digest, the subject line and message bodies of all notifications that should have sent out during the chosen digest frequency will be grouped together into a single notification message body instead.

Please Note: It is recommended that a new notification is created as opposed to editing an existing notification to ensure the correct database and cron settings are created.  

Choose when to group notifications of the same type to send as a single digest email.

After adding two new posts, the resulting Digest email would look like this, as seen in an email log (your inbox will likely style the email and make it look better):

Testing

If you’d like to test your digest notifications ahead of time (i.e. not have to wait until the specified time for them to trigger automatically), you can trigger them manually by going to these URLs for each digest frequency respectively. After visiting this URL, it will return you to the WordPress Dashboard. Remember to replace https://www.domain.com with your own.

1
2
3
4
https://www.domain.com/wp-admin/?debug-digest=hourly
https://www.domain.com/wp-admin/?debug-digest=daily
https://www.domain.com/wp-admin/?debug-digest=weekly
https://www.domain.com/wp-admin/?debug-digest=monthly

Important Notes

This add-on uses the built in WordPress cron to schedule digest notifications and and as such, requires that the site is visited to ensure that the cron runs. More information about this standard WordPress behaviour is available to read on WordPress.org here. Additionally, I’ve written a support document which can help in troubleshooting and fixing WP Cron issues, available here.

Roadmap

Grouping notifications of different types into a single digest (e.g. New Post Published, Post Updated, Post Scheduled, etc.) isn’t currently supported but may come at a later date.

Questions?

Still have a question? Ask me a pre-sales question here and i’ll gladly help.