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.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More