The hook can be anything present hook from WordPress Core plugin theme or something you've come up with on the fly.
Once the hook live your plugins topic or WordPress Core to make something happen with that hook..
You simply hook this chunk of code to custom hook and use Simple Hook Widget to place that custom hook in the sidebar..
This plugin will allow you to ANY hook and will run it in the sidebar that includes WordPress loaded with actions that result in issues for your site..
If the 'simple-hook-list is not filtered Simple Hook Widget will not show fall in the interface but instead it will provide text field allowing user to ANY hook they like..
Remember you can do whatever you want here you just need to make sure the hook used in the add action is the same as the hook like selected in special widget..
Version 2.0 of Simple Hook Widget includes the filter which allows users to specify set of hooks.
The function you create will return variety where the index is the hook's like and the value is the text that will represent it in the fall down on the board.
Note If filtering 'simple-hook-list to create fall down the default value will match one of the keys in the variety passed to the filter this default will do nothing..
Browse the code recheck out SVN repository or subscribe to the development log RSS....
Read more