Switch language
wpseek on Twitter


A WordPress-centric search engine for devs and theme authors




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.
Uses:
Returns:
  • (string)
Defined at:
Codex



Retrieve the tags for a post formatted as a string.

Source

function get_the_tag_list( $before = '', $sep = '', $after = '', $id = 0 ) {
	return apply_filters( 'the_tags', get_the_term_list( $id, 'post_tag', $before, $sep, $after ), $before, $sep, $after, $id );
}

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

0 User Note(s)

None yet. Be the first!

Add New ...