I have the tag ID, in integer format.
I want to convert this to the tag name. e.g. “cars”
How do I do this?
1
Use get_tag
.
$tag = get_tag(2); // <-- your tag ID
echo $tag->name;