WooCommerce: Work Out the First Action a Global Variable Can Be Accessed From

WooCommerce uses a number of global variables, if you’ve spent any time looking at code snippets then you’ll often see code like this global $product; Which is used to get a reference to the current product that is being displayed, typically on the shop screen or the single product page. Recently whilst looking through the … Read more

Setting up a Woocommerce Development Environment with Local by Flywheel and Visual Studio Code

In this article, we’re going to take a look at how to set-up a development environment for Woocommerce, by the time we’ve finished we should have an environment that will allow us to – Quickly spin up a fresh Woocommerce site that includes test data Edit code productively using an IDE Step through code using a debugger … Read more