kcmerrill / events
There is no license information available for the latest version (dev-master) of this package.
A simple event script, useful for EDD and Plugins
dev-master
2014-08-13 21:11 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-04-13 11:10:49 UTC
README
The concept and idea I derived from WordPress and it's way of creating plugins. Or what some refer to as event driven design. I personally prefer it to be used for making things extensible.Each register requires a paramater that would pass is_callable(). So use your imagination :)
I've attached a simple example.php to further explain the concept. Also, take a peek at WP's documentation as it's pretty thorough. Keep in mind however that the api is not the same as pluginify's, it's just to explain the concepts.
Wordpress Plugin API