Category ID confusion
-
A bit confused about the
The API returns this ID which is different from the internal ID of a category in WordPress. If you look below, the ID after /terms/ is the one used internally. So if I do
wp-json/posts?filter[cat]=648, it doesn’t return the right articles. If I use 134, it works.
Any ideas why and how to make sure I use the right ID for the category?
Thank you
ID = 648;
count = 407;
self = “wp-json/taxonomies/category/terms/134”;
- The topic ‘Category ID confusion’ is closed to new replies.