WordPress Wp Query Metadata

Honestly I thought there will be a more direct way to do this but it seems like it is the only option, for now…
The good news is that some people have tested it on stackoverflow and say that is pretty fast.

Here I will show you how to get the meta data of a woocommerce post/product, so that we don’t only get the values of a regular post but also get values like the price of a product. Enjoy.