feed_link WordPress Filter Hook
The `feed_link` hook is used to modify the URL of the feed link in the HTML head. This is useful for sites that want to change the default WordPress feed URL.
apply_filters( 'feed_link', string $output , string $feed ) #
Filters the feed type permalink.
Parameters
- $output
(string)The feed permalink.
- $feed
(string)The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |