This function retrieves the tag name of a given tag ID as a string, returning false if there is no name.


wpf_get_tag_label( $tag_id )
  • $tag_id (int) (Required): The tag id to get the label of.


(mixed) Returns a string of the tag label, or false if nothing is found.

#Get a tag name

$tag_label = wpf_get_tag_label( $tag_id );

Was this helpful?