wp_widget_rss_process


wp_widget_rss_process ( $widget_rss, $check_feed = true )

Parameters:
  • (array) widget_rss RSS widget feed data. Expects unescaped data.
  • (bool) check_feed Optional. Whether to check feed for errors. Default true.
Returns:
  • (array)
Defined at:

Description

Process RSS feed widget data and optionally retrieve feed items.The feed widget can not have more than 20 items or it will reset back to the default, which is 10. The resulting array has the feed title, feed url, feed link (from channel), feed items, error (if any), and whether to show summary, author, and date. All respectively in the order of the array elements.

Related Functions

wp_widget_rss_form, wp_widget_rss_output, wp_widget_control, _wp_die_process_input, wp_ajax_widgets_order

Top Google Results

User discussions

wpseek mobile