Beans Simple Hook Guide
Find Beans action hooks easily and select them with a single click at their actual locations in your Beans theme.
by Christoph Herr · github.com/christophherr/beans-simple-hook-guide · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/christophherr/beans-simple-hook-guide/archive/refs/heads/master.zipDeclares an update source (christophherr/beans-simple-hook-guide), so updates arrive through the plugin's own updater.
Readme
Beans Simple Hook Guide
Find Beans action hooks quickly and easily by seeing their actual locations in your theme.
Beans Theme Framework required.
Description
This is an adapted version of Genesis Simple Hook Guide by Sridhar Katakam.
- Hooks are dynamically generated vs being hardcoded
- Clicking anywhere on a hook selects the hook name ready to be easily copied
- Does not show filters or markup
For a more comprehensive solution, please see Jeff Cleverley's Beans Visual Hook Guide
Once installed, this plugin adds a dropdown menu to the admin bar to see the available hooks on the page being viewed in the front end.
Credits:
- Sridhar Katakam for the ground work.
- Gary Jones for the original idea
- Sal Ferrarello for the original code
Installation
- Click on
Clone or downloadbutton, thenDownload ZIP. - Extract the zip file and upload the entire
beans-simple-hook-guidefolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
Frequently Asked Questions
I have my admin bar disabled, can I still view the hooks without it?
Sure! The views are triggered by a query string. Simply add ?bshg_hooks=show to the end of the URL.
Changelog
1.0.0
- Initial Release