Tag: Object-Oriented PHP
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().
Understanding Class Inheritance (Child and Parent Classes) in Object-Oriented PHP
Last time, we covered the fundamentals of object-oriented programming (OOP) in PHP: what an object is, what a class is, and how they interact.
The Three Development Paradigms: Procedural, Object-Oriented, and Functional
Anatomy of a WP-CLI Command: wp database import
To some, WP-CLI might seem like a nice but optional convenience for a WordPress developer who’s comfortable with the command line. For developers who’ve dealt with time-out issues in PHP processes, or who administer lots of websites, WP-CLI is more than that: it’s a time-saver and power-tool.
Making Your First WordPress Widget
Sidebars were one of the oldest features of WordPress as a publishing platform, and widgets have been in WordPress for years. This little quick guide walks through the process of making your own widget. Why would you want to?
YAY! Data Management Objects in WooCommerce 2.7
Everyone! Big good changes to WooCommerce’s developer experience are coming! It is good news!