how to get products by language in REST API?

Question

I’m using polylang free version to translate my WordPress site now I need to get the products for each language I tried to use wc/v2/products?lang=en but it keeps returning all products in both language
any idea how to achieve that using free version of polylang??

0
sonia 2 months 2021-05-17T05:19:16-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse