Plugin Development 101 – An Intro to Filters

In this part of Plugin Development 101 we take a look at one of the most important tools plugin developers use every day: filters. The presence of filters throughout WordPress are one of the elements that make plugin development possible, so having a good understanding of what they are and how they work is extremely…

Let’s Talk Extensible Code

A few weeks ago, I gave a presentation at WordCamp Kansas City titled “Modular Plugins”. The talk was focused on the idea of writing extensible code when building plugins. I’d like to continue a discussion of the same topic here.

Using Filters to Alter HTML Output

Filter hooks in WordPress provide a very powerful way to “alter” the output of functions. Using filters we can easily add extra HTML to some functions, and strip HTML from other functions. Some filters, such as the “body_class” filter, allow us to modify the class names of an HTML element, and some filters have nothing…

A Quick Introduction to Using Filters

Filter hooks are one of the the more powerful WordPress features that help to provide a huge amount of flexibility when it comes to modifying WordPress, including custom themes and plugins. There could easily be hundreds of different unique tutorials on how to use filters in themes and plugins, simply because of the huge array of…