Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_title_rss

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
132       * Filter the blog title for display of the feed title.
133       *
134       * @since 2.2.0
135       *
136       * @see get_wp_title_rss()
137       *
138       * @param string $wp_title The current blog title.
139       * @param string $sep      Separator used by wp_title().
140       */
141      echo apply_filters( 'wp_title_rss', get_wp_title_rss( $sep ), $sep );
142 }
143
144 /**
145  * Retrieve the current post title for the feed.
146  *
147  * @since 2.0.0
148  *
149  * @return string Current post title.
150  */