What is this?

In the scheme of things, hooks and filters are some of the least documented parts of the WordPress code base. A few years ago, the WordPress docs team developed a roadmap for the future of WordPress documentation and as I was part of the team that developed it, I’m none too aware of where the dry patches are. So I decided to do this thing.

From Adam Brown’s hooks list, I pulled 2500+ filter and action hooks. That’s a lot of examples to write but maybe I can help some people discover new and interesting ways to extend WordPress.

These examples may not all be awesome, but that’s the beauty of crowd-sourced code reviews, we’ll get it as right as we can. And of course the bonus of all this, is that hopefully we can put some/many/all of these examples to use in the Code Reference, wherever filters may fall into the new roadmap.

14 thoughts on “What is this?

  1. Learn three filters a day for 365 days : Post Status

  2. Learn Three WordPress Filters A Day

  3. WPTavern: Learn Three WordPress Filters A Day | Marketing Online Comercial SEO

  4. Suggestions:

    1) Contact form 😉 You say ‘Submit code’ and link to your main site, but no linky to sumbity!

    2) Gist embeds don’t show up in RSS feeds 🙁 If that’s not fixable, I’d switch to excerpts.

    • Contact form is fixed. The scheduler beat me to it. Used to be able to use noscript tags but doesn’t seem to be working (which is awesome). I guess I’ll have to add a Gist link manually (urghh).

  5. WPTavern: Learn Three WordPress Filters A Day | BoonJack Media || We make Multimedia easy.

  6. This is awesome. I’ve always said that 80% of learning to use anything is knowing what it’s capable of. I started developing on WP with exactly 0 knowledge and 0 experience 2 years ago, and I still have so much to learn. I’m looking forward to your overview of all these filters that I may not have even known I wanted to use!

  7. Hey man, haven’t heard from you in a while. I guess filters every day was too much to take on? Well, whenever you get back to it, just wanted to say thanks. I do a lot of documentation myself, so I understand the challenge, hope you end up back on track.

    • Yeah, I missed a few days there following WCSF. Had a lot of catching up to do, but I’m back on track. Thanks for the words of encouragement!

Leave a Reply

Your email address will not be published. Required fields are marked *