diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index abc09c666..3f2e4ea45 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -397,6 +397,19 @@ function get_day_link($year, $month, $day) { } } +/** + * Display the permalink for the feed type. + * + * @since 3.0.0 + * + * @param string $anchor The link's anchor text. + * @param string $feed Optional, defaults to default feed. Feed type. + */ +function the_feed_link( $anchor, $feed = '' ) { + $link = '' . $anchor . ''; + echo apply_filters( 'the_feed_link', $link, $feed ); +} + /** * Retrieve the permalink for the feed type. *