Title: Hook Locator
Author: Jaydip
Published: <strong>17 de Setembro, 2025</strong>
Last modified: 14 de Outubro, 2025

---

Buscar plugins

![](https://ps.w.org/hook-locator/assets/banner-772x250.jpg?rev=3362882)

![](https://ps.w.org/hook-locator/assets/icon-256x256.png?rev=3362887)

# Hook Locator

 Por [Jaydip](https://profiles.wordpress.org/jdahir0789/)

[Descargar](https://downloads.wordpress.org/plugin/hook-locator.1.0.zip)

 * [Detalles](https://gl.wordpress.org/plugins/hook-locator/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/hook-locator/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/hook-locator/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/hook-locator/#developers)

 [Soporte](https://wordpress.org/support/plugin/hook-locator/)

## Descrición

**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.

### Perfect For

 * Plugin & theme developers
 * Site maintainers debugging conflicts
 * Code auditors and security reviewers
 * WordPress learners exploring hook usage

### Why Hook Locator

Unlike runtime hook capture tools, Hook Locator performs **static code analysis**,
giving **accurate and secure** results without affecting performance.

### Advanced Usage

### Keyboard Shortcuts

 * **Ctrl/Cmd + K** – Focus search input
 * **Ctrl/Cmd + Enter** – Run search
 * **Escape** – Clear search input
 * **Click snippets** – Copy to clipboard

### Privacy

 * No personal data collection
 * No external API requests
 * No analytics, tracking, or cookies
 * Admin-only usage

### Support

Need help?

 * WordPress.org support forums
 * Inline documentation and tooltips in the admin panel

Hook Locator is actively maintained and tested with the latest WordPress releases.
We welcome feedback and feature requests!

## Capturas

 * [[
 * Main Search Interface – Modern search form with plugin/theme selection
 * [[
 * Search Results – Table view with file names, line numbers, and hook types
 * [[
 * Code Analysis – Highlighted view of hook usage in context

## Instalación

### Automatic

 1. Go to **Plugins > Add New**
 2. Search for **Hook Locator**
 3. Click **Install Now**  **Activate**

### Manual

 1. Upload the ZIP via **Plugins > Add New > Upload**
 2. Activate the plugin

### Getting Started

Go to **Tools > Hook Locator** to start searching hooks.

## Preguntas frecuentes

### Does this affect my site performance?

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.

### What file types does it search?

Hook Locator searches only PHP files (.php) since WordPress hooks are PHP-based.
It automatically skips other file types for optimal performance.

### Can I search for custom hooks?

Absolutely! Hook Locator finds any hook name you specify, including custom hooks
created by plugins, themes, or your own code.

### Is it safe to use on production sites?

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.

### Does it work with multisite?

Yes, Hook Locator works perfectly with WordPress multisite installations. Each site
can use it independently to analyze their specific plugins and themes.

### Can I export the search results?

Currently, you can copy individual code snippets to your clipboard. Future versions
may include CSV/JSON export functionality based on user feedback.

### What’s the difference from other hook plugins?

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.

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Hook Locator” é un software de código aberto. As seguintes persoas colaboraron 
con este plugin.

Colaboradores

 *   [ Jaydip ](https://profiles.wordpress.org/jdahir0789/)

[Traduce “Hook Locator” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/hook-locator)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/hook-locator/), bota
unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/hook-locator/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/hook-locator/)
por [RSS](https://plugins.trac.wordpress.org/log/hook-locator/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.0.0

 * Initial release with full hook scanning and analysis
 * Plugin and theme directory dropdowns with optgroups
 * Improved code highlighting with better contrast
 * Secure coding with nonce checks and sanitization
 * Fully WordPress coding standards compliant (PHPCS/WPCS)
 * Optimized file scanning with smart resource management
 * Professional admin UI with WordPress styling

## Meta

 *  Versión **1.0**
 *  Última actualización **Fai 6 meses**
 *  Instalacións activas **Menos de 10**
 *  Versión de WordPress ** 5.0 ou superior **
 *  Probado ata **6.8.5**
 *  Versión de PHP ** 7.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/hook-locator/)
 * Etiquetas
 * [actions](https://gl.wordpress.org/plugins/tags/actions/)[debug](https://gl.wordpress.org/plugins/tags/debug/)
   [filters](https://gl.wordpress.org/plugins/tags/filters/)[Hook](https://gl.wordpress.org/plugins/tags/hook/)
   [search](https://gl.wordpress.org/plugins/tags/search/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/hook-locator/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

[Your review](https://wordpress.org/support/plugin/hook-locator/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/hook-locator/reviews/)

## Colaboradores

 *   [ Jaydip ](https://profiles.wordpress.org/jdahir0789/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/hook-locator/)