W3cubDocs

/WordPress

apply_filters( ‘feed_link’, string $output, string $feed )

Filters the feed type permalink.

Parameters

$outputstring
The feed permalink.
$feedstring
The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.

Source

return apply_filters( 'feed_link', $output, $feed );

Changelog

Version Description
1.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/feed_link