Download the PHP package arnaud-ritti/wp-hook without Composer
On this page you can find all versions of the php package arnaud-ritti/wp-hook. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download arnaud-ritti/wp-hook
More information about arnaud-ritti/wp-hook
Files in arnaud-ritti/wp-hook
Download arnaud-ritti/wp-hook
More information about arnaud-ritti/wp-hook
Files in arnaud-ritti/wp-hook
Vendor arnaud-ritti
Package wp-hook
Short Description Use PHP Docblock (annotations) to register WordPress hooks, filters and shortcodes.
License MIT
Package wp-hook
Short Description Use PHP Docblock (annotations) to register WordPress hooks, filters and shortcodes.
License MIT
Please rate this library. Is it a good library?
Informations about the package wp-hook
WP Hook
Register WordPress hooks, filters and shortcodes.
- With PHP Docblock (annotations)
- Or with PHP 8.0 Attributes
Requirements
- PHP 7.1 or greater (tested on PHP 7.4, 8.0 and 8.1)
Install
Via Composer
Usage
To automatically wire up your class, simply call the HookRegistry::bootstrap method, like so:
And you're done!
The following annotations can be used in PHP 7:
For PHP 8, please use attributes:
Testing
License
WP Hook is released under the MIT License.
All versions of wp-hook with dependencies
PHP Build Version
Package Version
The package arnaud-ritti/wp-hook contains the following files
Loading the files please wait ...