Notifications

Receive timely updates on the content you’re following.

Notifications keep you and your team up to date on changes to important content. Users can be subscribed to notifications for any post, either individually or by selecting user groups. You can quickly search through all your users to find the desired name or email address, or display just those users already subscribed to a post.

When enabled, email notifications are sent when a post is updated or an editorial comment is left by a writer or editor.

Extend notifications

Using WordPress’ hooks and filters, you can extend notifications in the following ways:

  • ef_edit_post_subscriptions_cap (filter) – Change the capability required to modify who’s subscribed to a post.
  • ef_notification_auto_subscribe_current_user (filter) – Whether or not to auto-subscribe a user editing the post or leaving an editorial comment. The former action passes ‘subscription_action’ and the latter ‘comment’. Default is to auto-subscribe.
  • ef_notification_status_change (filter) – Kill notifications for specific post status changes (or all).
  • ef_notification_ignored_statuses (filter) – Another way to kill notifications for specific post status changes.
  • ef_notification_editorial_comment (filter) – Kill notifications for editorial comments.
  • ef_notification_recipients (filter) – Modify who receives a notification. Default is all subscribers.

Leveraging these hooks and filters, we’ve also prepared the following code snippets: