Show Hooks

Show the origin of a action or filter hook sequentially which helps a developer to debug quickly.

Author:rafiq91, exlac (profile at wordpress.org)
WordPress version required:
WordPress version tested:5.9
Plugin version:0.4
Added to WordPress repository:19-06-2020
Last updated:06-02-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:96
Rated by:13
Plugin URI:
Total downloads:26 828
Active installs:2 000+
plugin download
Click to start download

A sequential and visual representation of WordPress 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 codebase or 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 into 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 your 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 Show 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.

????Upgrading to Show Hooks Pro
⭐️ ⭐️ ⭐️ ⭐️ ⭐️ Rating the plugin.

???? WHAT’S NEXT

If you like Show Hooks, then consider checking out our other WordPress Plugins

???? The Intelligent – A machine learning artificial intelligence that analyses all the sales of your WooCommerce shop in a smart way, it learns from them, and then it is able to predict the most relevant products suggession to your customers, thus increasing sales ????

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.