Tag: object-oriented programming
Object-Oriented PHP for WordPress Developers
Welcome to our free course on object-oriented PHP (OOPHP) for WordPress. This course explains the following:
Where and How to Use WordPress Hooks in Objects
You’ve maybe noted that we’ve recently been writing about WordPress and object-oriented programming in PHP a lot. Just last week, Fred published an article about PHP magic methods, especially __construct, and how they work. This week I want to tackle a very common and oft-debated question about WordPress and OOP: when I use WordPress hooks, where do they go on my objects?
Introduction to Object-Oriented PHP for WordPress Developers
Our goal today is introduce object-oriented programming in PHP, as the basis to discuss OOP in WordPress.
Carl Alexander’s Free Guide to Object-Oriented Programming in WordPress
Carl Alexander is a great technical writer, and he’s doing a great service for the world of WordPress: He teaches the principles of object-oriented programming (OOP).