Uses
Uses | Description |
---|---|
wp-includes/widgets.php: wp_widget_rss_output() | Display the RSS entries in a list. |
wp-includes/option.php: get_option() | Retrieves an option value based on an option name. |
Display generic dashboard RSS widget feed.
(string) (Required)
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>'; }
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_dashboard_rss_output