|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 59 ||All time: 9,851 This week: 261|
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.