Show Hooks

Descripción

A sequential and visual representation of WordPess action and filter hooks. Up until now the way theme and plugin developers find where to hook into with their add_action() and add_filter() functions is either to search through the WordPress code base, or find find a reference to the hook in the codex.

What Show Hooks does is give you a simpler way to see these hooks by displaying them in-line on the page that you are on. All that’s left to do then is copy the hook you need, and paste it in to your add_action and add_filter functions like this:
add_action( ‘wp_enqueue_scripts’, ‘my_enqueue_scripts_action’ );
add_filter( ‘the_title’, ‘my_the_title_filter’ );

I made this plugin so I could find WordPress hooks quicker and I use it all the time, so I thought I’d share it and see if it could help others.

Enjoy!

Please note that in odd cases, due to the nature of actions and filters, the plugin may display a hook in place that disrupts the display of your site – in which case we always display the ‘Hide Hooks’ button so you can switch it back off. This won’t disrupt the look of you site to anyone but you so don’t worry.

Show Hooks Needs Your Support ​

It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using Chow Hooks and find it useful, please consider making a donation. Your donation will help encourage and support the plugin’s continued development and better user support.

🎉🎉 Checkout the Show Hooks Pro

Hook search by prefix
Hook management with user roles
Disable callback functions directly for UI
Auto enable callback and more

Contribute to Show Hooks

If you want to contribute to the project, you’re most welcome to make it happen. The full source code is available on GitHub. If you find anything improbable, feel free to shoot a bug report or create a pull request.

Capturas

  • Here you can see how you can quickly find any action hook by using Show Hooks while you're on any WordPress wp-admin page.
  • Here you can see Show Hooks doing it's thing on any page of your website.

Instalación

  1. Install either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Once the plugin is activated you will see ‘Show Hooks’ in the Admin Bar at the top of your site or admin pages.
  4. Clicking the ‘Show Hooks’ button will start showing you all the action hooks in the page you’re on.
  5. You can continue to navigate around until you’ve found the action hook you’re looking for, then switch off by clicking ‘Hide Hooks’.
  6. Simple but effective. Enjoy!

Reseñas

23 de abril de 2021
Super vielen dank für das geile Tool, hat mir Stunden an an Hook Recherche erspart
14 de marzo de 2021
This plugin alongside 'ACF', 'wordpress classic editor' and 'show current template' are my go to plugins for developing in WordPress. A few glitches with the display here and there but I am not using it for cosmetic purposes - it has all the information that I need at my finger tips!
29 de diciembre de 2020
A bit overwhelming interface, but still got a majority of the information that I needed. Thanks!
Leer todas las 12 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

"Show Hooks" ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce "Show Hooks" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

0.2

  • New – Draggable hook panel
  • Fix – Style issues

0.1.6

  • New – Show/Hide link
  • Fix – Style issues

0.1.5

  • Check – WordPess 5.8 compatibility

0.1.4

  • Check – WordPess 5.7 compatibility

0.1.3

  • Check – WordPess 5.6 compatibility
  • Remove – Show Showing Hooks notification bar from top-right corner

0.1.2

  • Add – Hooks linked to WordPress Codex

0.1.1

  • Improve – Visual element mapping on page

0.1.0

  • Beta release.