WordPress开发者和主题制作者的搜索引擎



wp_dashboard_rss_output ›

Since2.5.0
已弃用n/a
wp_dashboard_rss_output ( $widget_id )
参数:
  • (string) $widget_id
    Required: Yes
定义在:
文档:

Display generic dashboard RSS widget feed.



源码

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