When writing code for WordPress plugins, one of the things that you need to do is to hook everything into the appropriate WordPress hooks. When working with OOP code, this typically means that each class is responsible for its own hooks. The result of this is that each class needs to be instantiated so that [more…]
Conditionally Instantiating Classes in WordPress
This is just a small idea. For more information, see this blog post.