Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: post_comments_feed_link_html

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
840       * Filters the post comment feed link anchor tag.
841       *
842       * @since 2.8.0
843       *
844       * @param string $link    The complete anchor tag for the comment feed link.
845       * @param int    $post_id Post ID.
846       * @param string $feed    The feed type. Possible values include 'rss2', 'atom',
847       *                        or an empty string for the default feed type.
848       */
849      echo apply_filters( 'post_comments_feed_link_html', $link, $post_id, $feed );
850 }
851
852 /**
853  * Retrieves the feed link for a given author.
854  *
855  * Returns a link to the feed for all posts by a given author. A specific feed
856  * can be requested or left blank to get the default feed.
857  *
858  * @since 2.5.0