Updated woocommerce check with one from their docs