Advertisements

get_the_tag_list

Definition:
function get_the_tag_list( $before = '', $sep = '', $after = '' ) {}

Retrieve the tags for a post formatted as a string.

Parameters

  • string $before: Optional. Before tags.
  • string $sep: Optional. Between tags.
  • string $after: Optional. After tags.

Defined filters

  • the_tags
    apply_filters( 'the_tags', get_the_term_list( 0, 'post_tag', $before, $sep, $after )

Source code

function get_the_tag_list( $before = '', $sep = '', $after = '' ) {

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

}

1849

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: