0+
October 14, 2025
September 17, 2025
Hook Locator is a fast, developer-friendly tool to search and analyze WordPress hooks in any theme or plugin. Instantly find add_action, add_filter, do_action, apply_filters, and more — with file paths, line numbers, and code highlights.
Unlike runtime hook capture tools, Hook Locator performs static code analysis, giving accurate and secure results without affecting performance.
Need help?
Hook Locator is actively maintained and tested with the latest WordPress releases. We welcome feedback and feature requests!
Go to Tools > Hook Locator to start searching hooks.
No! Hook Locator only runs in the WordPress admin when you actively search. There’s no frontend code or background processing that affects your site’s performance.
Hook Locator searches only PHP files (.php) since WordPress hooks are PHP-based. It automatically skips other file types for optimal performance.
Absolutely! Hook Locator finds any hook name you specify, including custom hooks created by plugins, themes, or your own code.
Yes, Hook Locator is completely safe for production use. It only reads files and never modifies any code. All operations are restricted to users with administrator privileges.
Yes, Hook Locator works perfectly with WordPress multisite installations. Each site can use it independently to analyze their specific plugins and themes.
Currently, you can copy individual code snippets to your clipboard. Future versions may include CSV/JSON export functionality based on user feedback.
Hook Locator focuses on static code analysis rather than runtime hook capture. This makes it more accurate, secure, and performant while providing deeper code insights.