Tag: Development Practices

Understanding PHP Globals and Variable Scope in WordPress

One of the most maligned features of WordPress is the use of “PHP global variables.” Whether you love them or hate them, global variables probably aren’t leaving WordPress soon. So today we’ll cover all there is to know about them. How to think about them. How you, in PHP, make variables global, access WordPress’s global variables, and a little about the theory and debate about global state in software applications.

Using Browser Tabs and Windows Efficiently in WordPress Development

A lot of my work in WordPress is tacit knowledge: general know-how that I take for granted, and that it doesn’t even occur to me I have. The problem with tacit knowledge in teaching is that other people might miss important things that it wouldn’t even occur to you to teach because it feels “too basic.”