Description
Ever had that feeling where you hook into and action or a filter and for some reason your code isn’t working? well 9 / 10 the reason is your hook is in a lower priority(in case of filters) and it can simply be determined by searching through the code for that particular filer? Seems, a tedious amount of time doesn’t it? I’ve created a plugin for just that reason but it lists all hooks and filters and allows you to search through them to see whats being hooked.
To do this i’ve used a helper class from Query Monitor where I initially saw this being used, i’ve extended it to be more user friendly.
Captures d’écran





Installation
- Upload the plugin files to the
/wp-content/plugins/digthis-action-filtersdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to « View Filters » from the menu in the front end or alternatively use the « Show Filters » button to trigger a popup on the front end
- Type the name of « Action Hook » or « Filter Hook » you want to see and it will display functions attached to those. ex: init, the_content etc
Avis
Contributeurs & développeurs
« Digthis Show Action Hook » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Digthis Show Action Hook » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
1.0.1
Do not load scripts if user is not logged in
1.0.0
First Version