Otto explains the difference between actions and filters


Otto, Audrey Capital Tech Ninja and regular contributor at, has published a blog post explaining the difference between WordPress actions and filters. I just hope folks start listening to him, for his sake:

So plugin authors, please, please, I’m begging you, learn this lesson well.

Filters are supposed to filter. Actions are supposed to take action.

When you mix the two up, then you cause pain for the rest of the world trying to interact with your code. My desk is starting to get covered in dents from me repeatedly banging my head into it because of this.

2 thoughts on “Otto explains the difference between actions and filters

  1. great article from Otto.

    By the way Ryan, care to share your Link post format implementation?

    Are you using a custom field to make your title link to an external link instead of the internal permalink?

Comments are closed.