fetch_feed

Advertisement

Summery Summery

Build SimplePie object based on RSS or Atom feed from URL.

Syntax Syntax

fetch_feed( string|string[] $url )

Parameters Parameters

$url

(string|string[]) (Required) URL of feed to retrieve. If an array of URLs, the feeds are merged using SimplePie's multifeed feature. See also http://simplepie.org/wiki/faq/typical_multifeed_gotchas

Return Return

(SimplePie|WP_Error) SimplePie object on success or WP_Error object on failure.

Source Source

File: wp-includes/feed.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.