WooCommerce ‘Featured product’. How can I change it programmatically?

Question

I’m trying to set the ‘featured product‘ field via php programming to true, but I can’t find any examples of how to do it. I would also like to know in which field and table it is recorded.

Thanks.
Miquel.

0
Miquel 3 months 0 Answers 21 views 0

Leave an answer