Custom taxonomy name and ID in API
-
Hello there,
I am working with the project where al the WP data is asked over API. To optimise the speen I try to reduce API calls to minimum.
Currently when I ask page content via API i get my custom taxonomy information attaced as array of IDs (for example “my_type”:[285,286]). Is it possible to have the name/slug instead of ID (for example “my_type”:[‘type1′,’type2’])? Tha would reduce my API calls to one.
All the best
Hembo
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom taxonomy name and ID in API’ is closed to new replies.