Object-Oriented PHP: The __construct() Magic Method

In this article, we tackle an intermediate topic in object-oriented PHP: magic methods, specifically __construct(). Our goal in this article is to explain __construct() itself: of all the magic methods in OO PHP, it’s by far the most important, certainly in a WordPress context. To explain _construct(), though, we first need to explain what magic methods themselves […]

Read More