get_feed_link

SummerySummery

Retrieves the permalink for the feed type.

Syntax

get_feed_link( string $feed = '' )

ParametersParameters

$feed

(string) (Optional) Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().

Default value: ''

ReturnReturn

(string) The feed permalink.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
1.5.0 Introduced.
Scroll to Top