the_feed_link filter-hook . WP 3.0.0
Filters the feed link anchor tag.
Usage
add_filter( 'the_feed_link', 'filter_function_name_2133', 10, 2 ); function filter_function_name_2133( $link, $feed ){ // filter... return $link; }
- $link(string)
- The complete anchor tag for a feed link.
- $feed(string)
- The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
the_feed_link
wp-includes/link-template.php 609
echo apply_filters( 'the_feed_link', $link, $feed );