跳到内容

Simply Show Hooks

v1.3.3

stuartobrien · 2015年3月31日 上架

Simply Show Hooks helps theme and plugin developers to quickly see where all the action and filter hooks are on any WordPress page.

正在使用
1,000+
评分
5.0 / 5
累计下载
7.5 万
最近更新
2026年11月17日
63 条评价需要 WordPress 5.0+已测试到 7.0.9PHP 7.0+

贡献者

截图

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

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums