Get name (or some other option) instead of id?
-
The callback seems to only return the ID for the tags and categories, and I would really like to have the name (or else I have to create maps of two array and it’s a big mess). I tried writing my own for what I needed (your code was very helpful), and re-writing yours, but it wasn’t updating. Something weird is going on there, but is there something I can do/change within your plugin to have it return the name instead of ID? Why would it just return the ID when you are returning the results of the wp_get_post_tags() function? Is it just because it is the first result in the object?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get name (or some other option) instead of id?’ is closed to new replies.