Currently, I am utilizing the WordPress REST API and have successfully created a new category. However, when making queries to the API, it is returning undefined for that particular category.
Upon visiting: /wp-json/wp/v2/categories
, category 17 does not appear in the list. Yet, if I visit /wp-json/wp/v2/categories/17
, all the details of category 17 are displayed correctly.
I am puzzled as to why this issue is occurring. Could it be due to some form of caching?
Thank you