get_the_tag_list


get_the_tag_list ( $before = '', $sep = '', $after = '', $id = 0 )

Parameters:
  • (string) $before Optional. Before tags.
  • (string) $sep Optional. Between tags.
  • (string) $after Optional. After tags.
  • (int) $id Optional. Post ID. Defaults to the current post.
Returns:
  • (string|false|WP_Error) A list of tags on success, false if there are no terms, WP_Error on failure.
Defined at:

Description

Retrieve the tags for a post formatted as a string.

Related Functions

get_the_tags, get_the_term_list, get_the_category_list, get_the_title, get_theme_feature_list

Top Google Results

User discussions

wpseek mobile