Displaying WordPress Post Tags

Resolved

I have a call that returns posts, and this includes the element 'tags'. Each post can have tags:

{ 
"tags": [79,63,85],
}

I have another call which just gets all the existing tags and their names from WordPress:

{
"id": 79,   
"name": "Happy"
}

Thanks to Inactive Member I can correctly display the tag values on a details page. But, now I need the actual names of the tags, not the numbers, to display.

I assume a custom function is the way to do this (?), but I'm not sure how to parse the data correctly.

Any ideas out there?

Thanks!

3 replies