Optimizing Variation Queries in WooCommerce The WooCommerce function get_available_variations() does a lot. Here's how you can trim it back to do as much as you need.