Description
Retrieve the permalink for a feed by feed type.
Usage
<?php get_feed_link( $feed ); ?>
Parameters
- $feed
- (string) (optional) Feed type. Defaults to the default feed if empty.
- Default: Empty string
Return Values
- (string)
- The link for the feed.
Examples
Notes
Change Log
Source file
get_feed_link() is located in wp-includes/link-template.php
.
Related