WP REST API: filter by category 1 AND category 2
Question
I have been meddling with REST API and I am stuck with this: How can I filter posts in both cat1 and cat2?
For now, ?categories[]=45&categories[]=50
returns in category ID 45 OR 50 – how can I get posts in 45 AND 50?
Thanks in advance.
0
categories, rest-api
4 years
2020-03-25T04:50:57-05:00
2020-03-25T04:50:57-05:00 0 Answers
104 views
0
Leave an answer