Definition:
function get_the_tags( $id = 0 ) {}
Retrieve the tags for a post.
Parameters
- int $id: Post ID.
Defined filters
- get_the_tags
apply_filters( 'get_the_tags', get_the_terms( $id, 'post_tag' )
Source code
function get_the_tags( $id = 0 ) { return apply_filters( 'get_the_tags', get_the_terms( $id, 'post_tag' ) ); }
1847
No comments yet... Be the first to leave a reply!