Uses
| Uses | Description |
|---|---|
| wp-includes/widgets.php: wp_widget_rss_output() | Display the RSS entries in a list. |
Displays the WordPress events and news feeds.
(string) (Required) Widget ID.
(array) (Required) Array of RSS feeds.
File: wp-admin/includes/dashboard.php
function wp_dashboard_primary_output( $widget_id, $feeds ) {
foreach ( $feeds as $type => $args ) {
$args['type'] = $type;
echo '<div class="rss-widget">';
wp_widget_rss_output( $args['url'], $args );
echo '</div>';
}
} | Version | Description |
|---|---|
| 4.8.0 | Removed popular plugins feed. |
| 3.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_dashboard_primary_output