What is this?

Update Aug 2, 2013: See the quest continues for updated information on how this series is proceeding.

In the scheme of things, hooks and filters are some of the least documented parts of the WordPress code base. The Docs Team recently 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 filters list, I pulled 1003 total filter hooks, divided by three, that comes to about 335 filters. I’m going to attempt to write example filters for three filter hooks a day for a year. And I’ll intermix 30-or-so filters from popular plugins to round out the total.

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 Codex/Code Reference, wherever filters may fall into the new roadmap. You can see the list after the jump.

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

    • 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).

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

  5. 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!

  6. 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