Displays the WordPress events and news feeds.
Parameters
$widget_idstringrequired- Widget ID.
$feedsarrayrequired- Array of RSS feeds.
Source
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>'; } }
User Contributed Notes
You must log in before being able to contribute a note or feedback.