|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2019-04-27 (3 months ago) ||Not yet rated by the users||Total: 45 This week: 1||All time: 9,592 This week: 372|
This package can implement hooks and filters like in WordPress.
It provides a class that can register callback hook functions for given actions, as well filters for specific actions that can be called when those actions happen in an application.
The package also provides global functions with the same names and functionality to those provided in WordPress for registering and calling hooks and filters.
Whooks is a standalone object oriented port of WordPress Hooks Library. Apart from the object oriented code, whooks also has polyfill for Wordpress hooking functions.
Install via composer
composer require mirazmac/whooks
- @todo Write tests ( I wonder when I'll write 'em :3 )
- @todo Write documentation
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.