Skip to content

Instantly share code, notes, and snippets.

@jasonw4331
Created March 10, 2017 23:42
Show Gist options
  • Save jasonw4331/49da41fd7fd9791fb97702c2a5c2e5fb to your computer and use it in GitHub Desktop.
Save jasonw4331/49da41fd7fd9791fb97702c2a5c2e5fb to your computer and use it in GitHub Desktop.
<?php
/**
* Event call is of very low importance and should be ran first, to allow
* other plugins to further customise the outcome
*/
const LOWEST = 5;
/**
* Event call is of low importance
*/
const LOW = 4;
/**
* Event call is neither important or unimportant, and may be ran normally
*/
const NORMAL = 3;
/**
* Event call is of high importance
*/
const HIGH = 2;
/**
* Event call is critical and must have the final say in what happens
* to the event
*/
const HIGHEST = 1;
/**
* Event is listened to purely for monitoring the outcome of an event.
*
* No modifications to the event should be made under this priority
*/
const MONITOR = 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment