WordPress at a glance
function is not described

wp_dashboard_primary_output() WP 3.8.0

Display the WordPress events and news feeds.

  • Since 4.8.0 Removed popular plugins feed.

No Hooks.


Nothing (null).


wp_dashboard_primary_output( $widget_id, $feeds );
$widget_id(string) (required)
Widget ID.
$feeds(array) (required)
Array of RSS feeds.

Code of wp dashboard primary output: wp-admin/includes/dashboard.php VER 5.1.1

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>';