On this page
apply_filters( 'rss_widget_feed_link', string $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_false' );.
Parameters
$feed_linkstring-
HTML for link to RSS feed.
$instancearray-
Array of settings for the current widget.
Source
File: wp-includes/widgets/class-wp-widget-rss.php. View all references
$feed_link = apply_filters( 'rss_widget_feed_link', $feed_link, $instance );
Related
Used By
| Used By | Description |
|---|---|
| WP_Widget_RSS::widget() wp-includes/widgets/class-wp-widget-rss.php | Outputs the content for the current RSS widget instance. |
Changelog
| Version | Description |
|---|---|
| 5.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rss_widget_feed_link