Download the PHP package johnbillion/wp-hooks-generator without Composer
On this page you can find all versions of the php package johnbillion/wp-hooks-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download johnbillion/wp-hooks-generator
More information about johnbillion/wp-hooks-generator
Files in johnbillion/wp-hooks-generator
Download johnbillion/wp-hooks-generator
More information about johnbillion/wp-hooks-generator
Files in johnbillion/wp-hooks-generator
Vendor johnbillion
Package wp-hooks-generator
Short Description Generates a JSON representation of the WordPress actions and filters in your code
License GPL-3.0-or-later
Package wp-hooks-generator
Short Description Generates a JSON representation of the WordPress actions and filters in your code
License GPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package wp-hooks-generator
WP Hooks Generator
Generates a JSON representation of the WordPress actions and filters in your code. Can be used with WordPress plugins, themes, and core.
Note: If you just want the hook files without generating them yourself, use the following packages instead:
- wp-hooks/wordpress-core for WordPress core
Installation
Generating the Hook Files
Usage of the Generated Hook Files in PHP
Usage of the Generated Hook Files in JavaScript
Ignoring Files or Directories
You can ignore files or directories in two ways:
On the Command Line
./vendor/bin/wp-hooks-generator --input=src --output=hooks --ignore-files="ignore/this,ignore/that"
In composer.json
Ignoring Hooks
You can ignore hooks in two ways:
On the Command Line
./vendor/bin/wp-hooks-generator --input=src --output=hooks --ignore-hooks="this_hook,that_hook"
In composer.json
TypeScript Interfaces for the Hook Files
The TypeScript interfaces for the hook files can be found in interface/index.d.ts
. Usage:
JSON Schema for the Hook Files
The JSON schema for the hook files can be found in schema.json
.
All versions of wp-hooks-generator with dependencies
PHP Build Version
Package Version
The package johnbillion/wp-hooks-generator contains the following files
Loading the files please wait ....