Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 609 Bytes

File metadata and controls

15 lines (10 loc) · 609 Bytes

Bundling Notification plugin

Including Notification in your plugin or theme is really very simple. It can work as a library (similar to Advanced Custom Fields or other plugins).

One difference is that you don’t have to define anything. Just include the plugin’s load.php file like this:

require_once( 'path/to/plugin/notification/load.php' );

Notification will figure out its paths and URLs.

{% hint style="info" %} When bundled, the Notification initializes on init 4 to make sure it gets the priority. Notification plugin instantinated as a normal plugin is ignored. {% endhint %}