Ready! Filter! Action!

At our WordPress Developers meetup on Feb 4, 2015, I did a presentation (including some live coding) about using WordPress hooks. I can’t stress enough how important I feel these are for WordPress theme developers to know how to use. There are so many different ways to do things in WordPress and hooks are definitely not a beginner technique. But once hooks are mastered, a whole new level of coding with WordPress is open to you. If you can grok hooks and use them correctly, not only will your code become more efficient, it will become more elegant. And code is poetry after all…

Slides from my talk are embedded below. They can also be accessed here if the embed is not working in your browser. I’ve also included the code examples we wrote during the session to better understand how hooks are utilized.

PHP Hook Examples

 

What do you think?