2017 © Pedro Peláez
 

library notification

image

underdev/notification

  • Monday, February 5, 2018
  • by underDEV
  • Repository
  • 6 Watchers
  • 27 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 17 Open issues
  • 17 Versions
  • 0 % Grown

The README.md

Test Develop Stable, (*1)

Notification

Notification banner, (*2)

This is the public repository for Notification - the WordPress plugin., (*3)

This plugin allow you to send custom notifications about various events in WordPress. It also comes with simple yet powerful API by which you can add literally any trigger action., (*4)

By default it supports Email, Webhook and Webhook plain JSON notifications., (*5)

Default Triggers

Comment, Pingback, Trackback and Custom Comment Type
, (*6)

This covers all the comment types. Use comment, pingback, trackback, another_comment_type instead of the {comment_type_slug}., (*7)

Trigger name Trigger slug
Comment added comment/{comment_type_slug}/added
Comment approved comment/{comment_type_slug}/approved
Comment replied comment/{comment_type_slug}/replied
Comment spammed comment/{comment_type_slug}/spammed
Comment trashed comment/{comment_type_slug}/trashed
Comment unapproved comment/{comment_type_slug}/unapproved
Comment published comment/{comment_type_slug}/published

, (*8)

Media
, (*9)

Trigger name Trigger slug
Media added media/added
Media trashed media/trashed
Media updated media/updated

, (*10)

Plugin
, (*11)

Trigger name Trigger slug
Plugin activated plugin/activated
Plugin deactivated plugin/deactivated
Plugin installed plugin/installed
Plugin removed plugin/removed
Plugin updated plugin/updated

, (*12)

Post, Page and Custom Post Type
, (*13)

This covers all the custom post types, as well. Use post, page, product, another_post_type instead of the {post_type_slug}., (*14)

Trigger name Trigger slug
Post added post/{post_type_slug}/added
Post saved as a draft post/{post_type_slug}/drafted
Post sent for review post/{post_type_slug}/pending
Post approved post/{post_type_slug}/approved
Post published post/{post_type_slug}/published
Post trashed post/{post_type_slug}/trashed
Post updated post/{post_type_slug}/updated
Post scheduled post/{post_type_slug}/scheduled

, (*15)

Category, Tag and Custom Taxonomy
, (*16)

This covers all the taxonomies. Use category, post_tag, another_taxonomy instead of the {taxonomy_slug}., (*17)

Trigger name Trigger slug
Taxonomy term created taxonomny/{taxonomy_slug}/created
Taxonomy term deleted taxonomny/{taxonomy_slug}/deleted
Taxonomy term updated taxonomny/{taxonomy_slug}/updated

, (*18)

Theme
, (*19)

Trigger name Trigger slug
Theme installed theme/installed
Theme switched theme/switched
Theme updated theme/updated

, (*20)

User
, (*21)

Trigger name Trigger slug
User deleted user/deleted
User login user/login
User login failed user/login_failed
User logout user/logout
User password changed user/password_changed
User password reset request user/password_reset_request
User profile updated user/profile_updated
User role changed user/role_changed

, (*22)

WordPress
, (*23)

Trigger name Trigger slug
Available updates wordpress/updates_available
WordPress updated wordpress/updated

, (*24)

Privacy
, (*25)

Trigger name Trigger slug
Personal Data erased privacy/data-erased
Personal Data erase request privacy/data-erase-request
Personal Data exported privacy/data-exported
Personal Data export request privacy/data-export-request

, (*26)

Extensibility

The Notification plugin have multiple APIs which gives you the ability to customize the plugin. The most important ones are:, (*27)

  • Trigger API - you can wrap any WordPress' do_action into a Trigger.
  • Carrier API - you can register a custom Carrier, like a service connection. Carriers are independent from Triggers and works with all default and custom Triggers out of the box. It's packed with configuration form builder.
  • Recipient API - you can register a custom Recipients for your Carriers. Like automatically pulled users from external database or simply custom user query with meta etc.
  • Resolver API - you can create another Merge Tag resolver, ie. {customtag param1} which is handled differently than a standard Merge Tag.
  • Settings API - for quick plugin Settings registration

Bundling the plugin

You can ship this plugin as a part of your plugin or theme. Just copy the plugin directory into your folder and require load.php file. Read more about the plugin bundling and plugin loading stack., (*28)

White labeling

You can integrate this plugin with your system with a simple white labeling, it's a single notification_whitelabel() function to call. Read the full white labeling documentation., (*29)

Development version

You can download build development version from the Development workflow. Click the latest run and download generated artifact., (*30)

The Versions

05/02 2018

1.4

1.4.0.0

  Sources   Download

05/02 2018

2.0

2.0.0.0

  Sources   Download

05/02 2018

2.0.1

2.0.1.0

  Sources   Download

05/02 2018

2.1

2.1.0.0

  Sources   Download

05/02 2018

2.2

2.2.0.0

  Sources   Download

05/02 2018

1.1.2

1.1.2.0

  Sources   Download

05/02 2018

1.2

1.2.0.0

  Sources   Download

05/02 2018

1.3

1.3.0.0

  Sources   Download

05/02 2018

1.3.1

1.3.1.0

  Sources   Download

05/02 2018

2.3.1

2.3.1.0

  Sources   Download

05/02 2018

2.4

2.4.0.0

  Sources   Download

05/02 2018

3.0

3.0.0.0

  Sources   Download

05/02 2018

2.3

2.3.0.0

  Sources   Download

12/11 2017

dev-dev

dev-dev

Notification WordPress plugin

  Sources   Download

GPL3

The Requires

 

by Kuba Mikita

25/06 2017

dev-master

9999999-dev

Notification WordPress plugin

  Sources   Download

GPL3

The Requires

 

by Kuba Mikita

25/06 2017

3.1.1

3.1.1.0

Notification WordPress plugin

  Sources   Download

GPL3

The Requires

 

by Kuba Mikita

24/06 2017

3.1

3.1.0.0

Notification WordPress plugin

  Sources   Download

GPL3

The Requires

 

by Kuba Mikita