wp_dashboard_rss_output( string $widget_id )
Display generic dashboard RSS widget feed.
Parameters
- $widget_id
-
(string) (Required)
Source
File: wp-admin/includes/dashboard.php
function wp_dashboard_rss_output( $widget_id ) { $widgets = get_option( 'dashboard_widget_options' ); echo '<div class="rss-widget">'; wp_widget_rss_output( $widgets[ $widget_id ] ); echo '</div>'; }
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_dashboard_rss_output