Welcome to this introduction to PHP control flow! This article continues our series explaining the basics of PHP for WordPress development. Our discussion of control flow in PHP relies on a basic understanding of a couple of topics we’ve covered in earlier articles: PHP functions, which are one of the main forms of controlling the flow of execution of PHP code. PHP’s return statement, which is an important element of control flow inside PHP functions. Now: What is control flow…