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
199      } else {
200           $link = get_tag_link($tag->term_id);
201           if ( 'rss2' == $feed )
202                $feed_link = 'feed';
203           else
204                $feed_link = "feed/$feed";
205           $link = $link . user_trailingslashit($feed_link, 'feed');
206      }
207
208      $link = apply_filters('tag_feed_link', $link, $feed);
209
210      return $link;
211 }
212
213 function html_type_rss() {
214      $type = get_bloginfo('html_type');
215      if (strpos($type, 'xhtml') !== false)
216           $type = 'xhtml';
217      else