

The Ultimate Guide to Object-Oriented PHP for WordPress Developers
The first step in leveling up your skills as a developer is learning object-oriented programming for PHP or OOP.
OOP is about more than using classes in your code. It’s about creating code that is less focused on a specific action and more focused on objects — small, reusable containers for data and functionality.
Although WordPress users don’t need to learn PHP to manage their WordPress-powered websites, if you’re a plugin or theme developer, or just want to modify the default behavior of your site, you will need to have a basic understanding of PHP.
This ebook will equip you with the knowledge and skills you need to get started with object-oriented PHP as a WordPress developer, including:
- PHP fundamentals
- Visibility and inheritance
- PHP 7
- WP_Query
- Magic methods
And more…
Written by Josh Pollock for Torque Magazine, and sponsored by WP Engine.