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, default is true. Whether to check feed for errors.
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_ajax_widgets_order, wp_get_single_post

Top Google Results

User discussions

wpseek mobile