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:Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
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.