how do I get the tag name from tag id? April 11, 2022 by Tarik Billa Use get_tag. $tag = get_tag(2); // <-- your tag ID echo $tag->name;