A WordPress-centric search engine for devs and theme authors



get_the_tags ›

Since2.3.0
Deprecatedn/a
apply_filters( 'get_the_tags', get_the_terms( $id, 'post_tag' )
Parameters:
  • (array) $terms An array of tags for the given post.
    Required: Yes
See:
  • get_the_terms()
Defined at:
Codex:

Filters the array of tags for the given post.





Source

return apply_filters( 'get_the_tags', get_the_terms( $id, 'post_tag' ) );