Download the PHP package wp-hooks/generator without Composer
On this page you can find all versions of the php package wp-hooks/generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wp-hooks/generator
More information about wp-hooks/generator
Files in wp-hooks/generator
Download wp-hooks/generator
More information about wp-hooks/generator
Files in wp-hooks/generator
Vendor wp-hooks
Package generator
Short Description Generates a JSON representation of the WordPress actions and filters in your code
License GPL-3.0-or-later
Package 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 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 generator with dependencies
PHP Build Version
Package Version
The package wp-hooks/generator contains the following files
Loading the files please wait ....