Object-Oriented PHP for WordPress Developers

Welcome to our free course on object-oriented PHP (OOPHP) for WordPress. This course explains the following: The object-oriented paradigm in software development, and its strengths and weaknesses relative to other paradigms, The core concepts of object-oriented programming in PHP with code examples, A few advanced topics in OOPHP that are especially useful in WordPress development, […]

Read More

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

Categories