Core Function
View Source on Trac ↗ fetch_feed()
fetch_feed( mixed $url ) Builds SimplePie object based on RSS or Atom feed from URL.
Parameters 1 required
| Name / Type | Description |
|---|---|
| mixed | (string | string[]) $url URL of feed to retrieve. If an array of URLs, the feeds are merged using SimplePie's multifeed feature. See also {@link http://simplepie.org/wiki/faq/typical_multifeed_gotchas} Required |
Return Value
((SimplePie\SimplePie)
| WP_Error) SimplePie object on success or WP_Error object on failure.
Function Information
Since Version
2.8.0
Source File
wp-includes/feed.php
Advertisement