In wordpress, all information can be retrieved via $post
or wp_query
, in woocommerce, is there something similar? I want to display information of each product, on a page next to the picture. I have two questions.
- How can i get to know, which variable does woocommerce uses to store the data.
- In General, if we want to know the meta of any post,page, how can we pull it aganist each id, where id is generic (we don't know, its dynamic like
$post->ID
)