1. PHP Foundations for WordPress
This module covers the PHP fundamentals you need before writing theme or plugin code.
Lessons
- PHP Syntax, Variables, and Control Flow — read and write basic PHP in WordPress files
- Arrays, Functions, and WordPress Naming — work with arrays, callbacks, prefixes, and WordPress-style functions
- Includes, Scope, and Error Handling — load files safely and avoid common PHP runtime mistakes
WordPress Context
Most WordPress PHP is procedural code organized around functions and hooks. You will still see classes in modern plugins, but the fastest path to usefulness is understanding variables, arrays, functions, callbacks, and WordPress conventions.
What's Next
- Continue to 2. WordPress Execution Model