After announcing the WordPress hooks database last night, I went back and made several fixes and improvements.
The biggest improvement: When viewing information about a single hook, my site automatically scrapes the official WordPress codex (don’t worry automattic, it’s cached). If it finds an entry for that hook, it displays it right there above the hook’s version history.
Another big improvement: Not only do you get to see the codex’s documentation (if it exists for the hook), but my site will also generate a list of (possibly) related hooks. Don’t you hate it when you think you found the right hook, but it turns out to be not quite what you needed? Well, there you go–check out the related hooks.
With these two features, the database is now a fully featured, automatic alternative to the previous attempt to make a hooks database (over at flatearth.org
), which appears to have been abandoned.
I also squashed some bugs. There were a couple 404s in the database that shouldn’t have been there, and the feedback link was broken initially, and there were some minor HTML validation errors.
I’ve been getting lots of hits, and it looks folks are linking to it from the codex and from del.icio.us, but I have yet to hear much feedback. Don’t be a lurker, mate…
3 comments »
Adam, this is a really great site and making my plugin support much easier. Thanks a lot. Additional it would be helpful also having a link “deleted hooks” with each version.
Yeah, I’ve got that in mind for the next time I get a chance to work on it. I also want to automatically detect how many arguments the hook can take. It may be a few weeks until I can work on it again, though.
It now displays deprecated hooks.
Leave a comment