W3cubDocs

/WordPress

apply_filters( ‘rss_widget_feed_link’, string|false $feed_link, array $instance )

Filters the classic RSS widget’s feed icon link.

Description

Themes can remove the icon link by using add_filter( 'rss_widget_feed_link', '__return_empty_string' );.

Parameters

$feed_linkstring|false
HTML for link to RSS feed.
$instancearray
Array of settings for the current widget.

Source

$feed_link = apply_filters( 'rss_widget_feed_link', $feed_link, $instance );

Changelog

Version Description
5.9.0 Introduced.

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