Tag Archives: Filters

Speaking Announcement – WordCamp Philly 2015

WordCamp Philly Banner

I have taken off a number of months in 2015 from speaking at WordCamps, but I’m excited to announce that I’ll be speaking at WordCamp Philly (June 13-14).

My talk will be about WordPress hooks, actions and filters.  This is something I tried to talk on last year, but have learned a lot more in how to present this content since then and am excited for a much smoother and comprehensive talk with a sexy slide deck to boot 🙂

The Difference Between WordPress Filters and Actions

Thanks to Otto for making the difference between actions and filters clear:

Filters filter things. Actions do not. And this is critically important when you’re writing a filter. A filter function should never, ever, have unexpected side effects.

There, you go, pretty straightforward!  He actually makes some really good, concise points about the difference between these terms and as he says: please learn this lesson well.