Core Function
View Source on Trac ↗ get_feed_link()
get_feed_link( mixed $feed = '' ) Retrieves the permalink for the feed type.
Parameters 1 required
| Name / Type | Description |
|---|---|
| string | $feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed(). Required |
Return Value
(string)
The feed permalink.
Function Information
Since Version
1.5.0
Source File
wp-includes/link-template.php
Advertisement