Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: the_tags

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1009  * @since 2.3.0
1010  * @uses apply_filters() Calls 'the_tags' filter on string list of tags.
1011  *
1012  * @param string $before Optional. Before tags.
1013  * @param string $sep Optional. Between tags.
1014  * @param string $after Optional. After tags.
1015  * @return string
1016  */
1017 function get_the_tag_list( $before = '', $sep = '', $after = '' ) {
1018      return apply_filters( 'the_tags', get_the_term_list( 0, 'post_tag', $before, $sep, $after ), $before, $sep, $after);
1019 }
1020
1021 /**
1022  * Retrieve the tags for a post.
1023  *
1024  * @since 2.3.0
1025  *
1026  * @param string $before Optional. Before list.
1027  * @param string $sep Optional. Separate items using this.