-
PHP Basics: Control Structures
PHP control structures are something you will encounter frequently when working with WordPress. In this article I give a short overview of the available controls followed by common WP examples. Control Structures Any PHP script is built out of a series of statements. A statement can be an assignment, a function call, a loop, a…
-
PHP Basics: Arrays
Arrays are very common in PHP and if you do any type of coding in WordPress you’re likely to encounter them. In this article I explain the basics of what an array is and how to work with them.