A WordPress-centric search engine for devs and theme authors



the_tags ›

Since2.3.0
Deprecatedn/a
apply_filters( 'the_tags', get_the_term_list( $id, 'post_tag', $before, $sep, $after )
Parameters: (5)
  • (string) $tag_list List of tags.
    Required: Yes
  • (string) $before String to use before tags.
    Required: Yes
  • (string) $sep String to use between the tags.
    Required: Yes
  • (string) $after String to use after tags.
    Required: Yes
  • (int) $id Post ID.
    Required: Yes
Defined at:
Codex:

Filters the tags list for a given post.





Source

return apply_filters( 'the_tags', get_the_term_list( $id, 'post_tag', $before, $sep, $after ), $before, $sep, $after, $id );