A few of the WordPress plugins I have built have been WooCommerce extensions – that is, add-ons to WooThemes’ exceptionally popular eCommerce plugin. Some of these are free, while others are premium extensions available for purchase directly from the WooThemes website. One of these premium extensions that I built is WooCommerce Order Barcodes.
With WooCommerce 2.1 having just been released, you’ll find that a number of functions that you have been using in your plugins and themes have now been deprecated in favour of better and more aptly named functions. Here is a simple function that checks if a site is running the specified version of WooCommerce or higher.