wp_dashboard_primary_output( string $widget_id, array $feeds )

Display the ClassicPress news feeds.


Parameters

$widget_id

(Required) Widget ID.

$feeds

(Required) Array of RSS feeds.


Source

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>";
	}
}


Changelog

Changelog
Version Description
WP-4.8.0 Removed popular plugins feed.
WP-3.8.0 Introduced.