Tag: Object Oriented
Object-Oriented PHP for WordPress Developers

Welcome to our free course on object-oriented PHP (OOPHP) for WordPress. This course explains the following:
Object-Oriented PHP: The __construct() Magic Method

In this article, we tackle an intermediate topic in object-oriented PHP: magic methods, specifically __construct().
Using WP_Query Objects Without the Loop

I really enjoyed David’s article from a few weeks ago on the basics of functional programming as it applies to WordPress’s nested data structures. One of the nice things about working with him is that I learn a lot, too. Today, I want to continue exploring the somewhat-functional world David introduced, and suggest some freer ways of interacting with a very important entity in WordPress: the WP_Query object.