akirk/Extract WordPress Hooks
Extract WordPress hooks from your repository and generate wiki documentation
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 3, 2026
- License
- GPL 2.0
Pinned Snippet
uses: akirk/extract-wp-hooks@c0b59d9607347a0390627756c095c52d5f98016a # 1.4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| config-file | Path to the extract-wp-hooks.json configuration file (optional if other config inputs are provided) | no | .extract-wp-hooks.json |
| namespace | PHP Namespace that's used. | no | — |
| base-dir | Base directory to scan for hooks (default: current directory) | no | . |
| wiki-directory | Directory to store wiki files | no | wiki |
| github-blob-url | GitHub blob URL for source links | no | — |
| exclude-dirs | Comma-separated list of directories to exclude | no | vendor,node_modules |
| ignore-filters | Comma-separated list of filter names to ignore | no | "" |
| ignore-regex | Regex pattern to ignore filter names | no | — |
| section | How to group hooks in documentation: 'file' or 'dir' | no | file |
| wiki-repo | Wiki repository URL (e.g., username/repo.wiki.git) | no | "" |
| example-style | Style for the auto-generated example code: 'default' or 'prefixed' | no | default |
| top-headline | Write a headline for each markdown document | no | false |
Outputs
| name | description |
|---|---|
| hooks-found | Number of hooks found and processed |
| wiki-files | Number of wiki files generated |