Notification – Custom Notifications and Alerts for WordPress

Description

Custom Notifications and Alerts without a hassle. Notify anyone about any action in your WordPress. With powerful Merge Tags, you can endlessly customize your messages. Set unlimited Notifications in your WordPress Admin via the beautiful and intuitive interface within 5 minutes.

HOW DOES IT WORK

The Notification plugin is built with three main components:

  • Trigger – a WordPress action, ie. User registration or Post publication
  • Notification – the thing which is being sent, ie. Email or Push
  • Merge Tag – dynamic content, ie. {user_email} or {post_permalink}

You can use them in any combination, adding as many Notifications as you want. They can be sent to multiple Recipients with the content you write.

The process is simple:

  • You select the Trigger
  • Compose your message with Merge Tags
  • Set Recipients
  • Save the Notification

From now on the Notification is working. Test it out and add more!

PERFECT FOR DEVELOPERS

The Notification plugin is easy to set in the WordPress Admin, but it’s even easier to extend with some sweet API.

You can create your own Triggers with any WordPress action. If you do in your code do_action( 'my_plugin_doing_awesome_thing' ) you can create a Trigger out of it.

This allows you to use the Notification plugin as a notification system in your own plugin or theme. How? Well, because of two things:

  • You can easily load it copying the plugin files and including load.php file. A function known from Advanced Custom Fields plugin.
  • You can white label the plugin with just one function which is shipped in the plugin’s core. For free.

How easy extending the Notification plugin is? Let’s see:

  • Adding another Merge Tag to existing trigger – 1 line of code
  • Creating custom Trigger – one intuitive class definition and registration with a single function call
  • Defining Global Merge Tag – 1 line of code
  • Creating new Extension – we have a Boilerplate ready for you to start hacking

See the developer documentation if you don’t believe us.

DEFAULT NOTIFICATIONS

  • Email
  • Webhook

DEFAULT RECIPIENTS

The plugin comes with few registered by default recipient types:

  • Email address or Merge Tag – free type email address or a Merge Tag
  • Administrator – takes an email from General Settings page
  • User – takes an email from WordPress user profile
  • Role – notify all Users having selected role at once

DEFAULT TRIGGERS

These are already defined in plugin’s core and are ready to use. You can enable or disable them on the Settings page.

WordPress:

  • Available updates – sent as often as you set them, ie. every week

Post Type:

  • Published post notification
  • Post added to database notification
  • Post drafted (saved as a draft) notification
  • Updated post notification
  • Post send for review (pending post) notification
  • Post moved to trash notification

The Notification plugin supports any Custom Post Type out of the box.

Taxonomy terms:

  • Taxonomy term created notification
  • Taxonomy term updated notification
  • Taxonomy term deleted notification

The Notification plugin supports any Taxonomy out of the box.

Comment / Pingback / Trackback:

  • New comment notification
  • Comment replied notification
  • Comment approved notification
  • Comment unapproved notification
  • Comment marked as spam notification
  • Comment moved to trash notification

User:

  • User registered notification
  • User profile updated notification
  • User logged in notification
  • User failed to log in notification
  • User logged out notification
  • User password reset request notification
  • User password changed notification
  • User deleted notification

Media:

  • Media added notification
  • Media updated notification
  • Media deleted notification

Feel free to suggest new core triggers in the support forum.

Each Trigger has own set of Merge Tags but you can use the Global Merge Tags anywhere.

GLOBAL MERGE TAGS

Along the Trigger specific Merge Tags, you can use the below anywhere:

  • Site homepage URL – {home_url}
  • Site title – {site_title}
  • Site tagline – {site_tagline}
  • Site theme name – {site_theme_name}
  • Site theme version – {site_theme_version}
  • Current WordPress version – {wordpress_version}
  • Admin email – {admin_email}
  • Trigger name – {trigger_name}
  • Trigger slug – {trigger_slug}

AWESOME EXTENSIONS

  • Conditionals – send Notifications in certain conditions
  • Custom Fields – use any meta value in your Notifications
  • Review Queue – catch your Notifications into queue for a manual review
  • Pushbullet – send Push and SMS Notifications via your phone
  • File Log – save Notifications as file logs on the server

POSSIBLE USE CASES

  • Post publication notification to the post author
  • Custom comment approved notification to post author and administrator
  • User logged in notification to the administrator
  • Notification about removed user account

USEFUL LINKS

Screenshots

  • Trigger edit screen
  • All triggers
  • Settings
  • Extensions
  • Help tab with global Merge Tags

Installation

Requirements

This plugin require at least PHP 5.3.0.

Plugin install

Download and install this plugin from Plugins -> Add New admin screen.

Distributing in a plugin or theme

Notification can be loaded also as a part of any plugin or theme. To do it just include plugins’s load.php file. It will figure out if it’s loaded from theme or from plugin.

See the detailed guide

FAQ

Installation Instructions

Requirements

This plugin require at least PHP 5.3.0.

Plugin install

Download and install this plugin from Plugins -> Add New admin screen.

Distributing in a plugin or theme

Notification can be loaded also as a part of any plugin or theme. To do it just include plugins’s load.php file. It will figure out if it’s loaded from theme or from plugin.

See the detailed guide

How is this plugin different from Better Notifications for WordPress (BNFW)?

The Notification plugin works very similar to BNFW but it has better codebase and interface. You can read the full comparison in the Notification vs Better Notifications for WordPress article.

Is this plugin for regular users?

Ofcourse it is! We are trying to make both parties happy – the Users and Developers. Users got their intuitive and beautiful panel in WordPress Admin and Developers got an awesome API by which they can extend the Notification plugin.

So it doesn’t matter if you don’t have any coding skills, they are not required to setup the notifications with this plugin.

How to register my own triggers?

With register_trigger() function. See the detailed guide

Can I bundle the plugin with my plugin or theme?

Yes, you can. See the detailed guide

Reviews

Excellent

Excellent plug-in: Easy to use, but flexibel enough to cover many use cases. And a very helpful video tutorial as well. Highly recommended!

Works with ACF + SUPPORT is unparalleled

We needed a plugin that could sent a customised email alert to specific users to let us know when a post was pending a review. We didn’t want to get emails for everything that was going on with WordPress – just the important stuff.

They’ve made what is actually pretty complicated as easy as it possibly could be to achieve this goal.

But what really impressed me was the support. They answered all my questions super quickly and tirelessly customised code for me to get all working on our highly customised site.

This is a fairly new plugin and it might not seem as widely used as others, but in my opinion, I don’t know how you could you could do it better!

Brilliant!

Great plugin and OUTSTANDING support!

We installed this plugin because we wanted to trigger an HTML scraper to recrawl our site anytime a post was published or updated. The plugin worked flawlessly in the normal case where posts are created and updated in the admin backend. But we also support a custom API endpoint that publishes posts via a programmatic call to wp_insert_post(). The PostPublished notification did not get triggered when posts were created programmatically. We reached out to the developer and he responded very quickly. We worked together to come up with solution (a one line change) and he delivered a fix within hours.

This plugin has a great UI and works very well. But the support may be its best feature.

I highly recommend this plugin.

Great UI and functionality; and stellar support

This is a wonderful plugin for pushing content from your WordPress site to any webhook based API. The UI is simple and elegant, very easy to set-up and use, and Bracket Space has provided very prompt and helpful customer support. We are also using the “Conditionals” extension to push posts filtered by Category to an external API for push notifications to our users. Thanks to Bracket Space and Kuba for this great plugin!

Read all 43 reviews

Contributors & Developers

“Notification – Custom Notifications and Alerts for WordPress” is open source software. The following people have contributed to this plugin.

Contributors

“Notification – Custom Notifications and Alerts for WordPress” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Notification – Custom Notifications and Alerts for WordPress” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

5.2.2

  • [Fixed] Post Updated Trigger postponing.
  • [Added] notificaiton/merge_tag/value/resolved filter.
  • [Added] post_sticky status Merge Tag only for Post.
  • [Added] Email From Name and From Email settings.
  • [Added] The story screen.
  • [Changed] Merge Tag resolver is now set via set_resolver method.
  • [Changed] PHP version requirement to 5.3.9.

5.2.1

  • [Fixed] Not existing post type.
  • [Fixed] Merge tag values are cleaned when Trigger is executed second time in the same run.
  • [Added] Post saved as a draft trigger.
  • [Added] notification_add_doc_hooks function for creating doc hooks handlers.
  • [Added] Classes to Settings sections.
  • [Added] Taxonomy term created trigger
  • [Added] Taxonomy term updated trigger
  • [Added] Taxonomy term deleted trigger
  • [Added] User login failed trigger.
  • [Added] User password reset request trigger.
  • [Added] User password change trigger.

5.2.0

  • [Fixed] User ID assignment in User deleted trigger, thanks to @Matthewnie.
  • [Fixed] ACF postponed action bail.
  • [Fixed] Field value filter name.
  • [Fixed] Notices.
  • [Fixed] Empty email body not being sent.
  • [Fixed] Notification form attributes escaping.
  • [Changed] Trigger action methods has been unified with callback method parameters.
  • [Changed] The Merge Tags are now resolved only while they are used.
  • [Changed] Post Pending trigger to not send multiple emails when pending post is updated, thanks to @jdaniel.
  • [Added] Dynamic property setting for Attachment merge tags.
  • [Added] Better post updated messages while saving the Notification.
  • [Added] Option to change Email MIME Type, now you can send HTML or Plain text.
  • [Added] Filter for post statuses which controls when the “Updated” notification should be send.
  • [Added] Notification Form fields value filter.
  • [Added] Notification Form row class.
  • [Added] Doc Hooks class for better actions and filters definitions.

5.1.7

  • [Fixed] Post Terms merge tags not rendering the values, thanks to @stocker.
  • [Changed] register_new_user action for User registered trigger to user_register.
  • [Added] new_to_publish action for Post published trigger, thanks to @JBCSU.
  • [Added] Post Added trigger.
  • [Added] Comment replied trigger.

5.1.6

  • [Fixed] Notice from PostTerms merge tags and from empty result.
  • [Fixed] Cloning Notification object which used the same fields instances, thanks to @JohanHjalmarsson.

5.1.5

  • [Fixed] Comment author display name bug, thanks to Aga Bury.
  • [Fixed] Post Published and Post Pending trigger fired twice.
  • [Fixed] Assets modification time as a cache buster.
  • [Fixed] Missing translations.
  • [Fixed] Notice thrown while saving email administrator recipient.
  • [Added] Comment Post Type merge tag for Comment triggers.
  • [Added] Comment moderation links for Comment triggers.
  • [Added] HtmlTag merge tag type.
  • [Added] WordPress updates available trigger.
  • [Added] Post Type merge tag.
  • [Added] More merge tags for comment triggers.

5.1.4

  • [Fixed] Object class name error on PHP 7.2 when using paid extension.
  • [Added] User password setup link for User registered trigger.
  • [Added] Ability to encode Webhook args as a JSON
  • [Added] Post status merge tag for Post triggers.
  • [Changed] Recipient Free type email field now supports comma separated emails.
  • [Changed] ACF integration postponed action for Post triggers has been changed to save_post which makes it more universal.

5.1.3

  • [Fixed] Pretty select in repeater is now rendered correctly while adding new row.
  • [Fixed] User Registration Trigger action.
  • [Fixed] ACF Postponing when there’s no data from ACF to save.
  • [Fixed] Post object property name for Custom Post Types.
  • [Added] Global Merge Tags which can be used in any Trigger. This includes Site title, Trigger name etc.
  • [Added] Screen help.
  • [Added] User Display Name Merge Tag.
  • [Added] Post Terms Merge Tags.

5.1.2

  • [Added] Ability to suppress the Notification just before it’s send.
  • [Added] Freemius integration to better understand the users.
  • [Added] Current Notification post ID property for Notifiation object.

5.1.1

  • [Fixed] Posponed action callback.
  • [Added] Support for NOTIFICATION_DEBUG constant. If it’s defined the cache for extensions is not applied.
  • [Added] notificaiton/notification/field/resolving filter before any value is resolved with merge tags.

5.1.0

  • [Fixed] The Email notification it not enabled anymore for already saved notifications
  • [Fixed] New Notification post is not automatically saved as an Auto Draft anymore
  • [Fixed] Enabled switch state in Save metabox
  • [Changed] Documentation link in Own Extension promo link
  • [Changed] Extensions in Extension directory are now loaded from remote API
  • [Added] TextareaField field
  • [Added] License handler for premium extensions

5.0.0

  • WARNING! This version is not compatible with previous version. No core notifications nor custom triggers will be transfered to the new version because of too many changes in the plugin. Consider updating the plugin in a safe, not-production environment.
  • Plugin has been redesigned from ground up
  • The only thing which is not available in new version is disabling the notifications

For more changelogs please refer to the changelog.txt file.