the_feed_link WordPress Filter Hook
The "the_feed_link" hook is used to modify the URL of the RSS feed. This can be used to change the feed's URL, or to add custom parameters to the URL.
apply_filters( 'the_feed_link', string $link , string $feed ) #
Filters the feed link anchor tag.
Parameters
- $link
(string)The complete anchor tag for a feed link.
- $feed
(string)The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |