Closed mnWebhuset closed 2 months ago
How can I get the ID on each post in the list loop?
I need this to add an "add to cart" button for Woocommerce
Hi @mnWebhuset ,
You can use "get_user_favorites()" helper function to get an array of favorite posts IDs.
How can I get the ID on each post in the list loop?
I need this to add an "add to cart" button for Woocommerce