{"repo":"wp-hooks/generator","free":true,"listed":false,"github":"https://github.com/wp-hooks/generator","clone":"git clone https://github.com/wp-hooks/generator.git","description":"Generates a JSON representation of the WordPress actions and filters in your code","language":"PHP","stars":87,"topics":["wordpress"],"license":null,"category":"cli-tools","readme_excerpt":"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 Requirements PHP 8.3 or higher. 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 .","default_branch":null,"files":null,"tree":[],"storefront":"/r/wp-hooks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wp-hooks/generator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}