---
title: "All The Hooks"
author: "Lax Mariappan"
date: "2026-02-09"
excerpt: "All The Hooks A WordPress plugin to discover and document hooks (actions and filters) in other WordPress plugins. The primary interface is a WP-CLI command which can scan plugin files and output detailed hook information in JSON, Markdown, or HTML format. Why This Tool? Many WordPress plugins contain action and filter hooks that are not […]"
canonical_url: "https://laxmariappan.com/projects/all-the-hooks/"
---

# All The Hooks

All The Hooks
A WordPress plugin to discover and document hooks (actions and filters) in other WordPress plugins. The primary interface is a WP-CLI command which can scan plugin files and output detailed hook information in JSON, Markdown, or HTML format.
Why This Tool?
Many WordPress plugins contain action and filter hooks that are not formally documented. While experienced developers can identify these hooks by examining source code, manually searching through codebases each time is time-consuming and inefficient. This utility simplifies that process.
Features

Scan WordPress plugins for all defined/used hooks
Identify both actions and filters
Extract and parse DocBlock comments for hooks
Output in JSON, Markdown, or HTML format
Source context display with syntax highlighting
Related hooks identification based on naming patterns
Interactive HTML output with dark/light mode and searchable interface
Structured parameter documentation with tables

Usage
wp all-the-hooks scan --plugin=<plugin-slug> [--format=<json|markdown|html>]
Language: PHP
View on GitHub