Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: tag_feed_link

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
904      } elseif ( 'post_tag' === $taxonomy ) {
905           /**
906            * Filters the post tag feed link.
907            *
908            * @since 2.3.0
909            *
910            * @param string $link The tag feed link.
911            * @param string $feed Feed type. Possible values include 'rss2', 'atom'.
912            */
913           $link = apply_filters( 'tag_feed_link', $link, $feed );
914      } else {
915           /**
916            * Filters the feed link for a taxonomy other than 'category' or 'post_tag'.
917            *
918            * @since 3.0.0
919            *
920            * @param string $link     The taxonomy feed link.
921            * @param string $feed     Feed type. Possible values include 'rss2', 'atom'.
922            * @param string $taxonomy The taxonomy name.