Document that fetch_feed() can accept multiple URLs, thus leveraging SimplePie's multifeed feature. props JustinSainton, fixes #22140.

git-svn-id: https://develop.svn.wordpress.org/trunk@24054 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-04-22 20:24:41 +00:00
parent a10e14ba57
commit a77be61eb6

View File

@ -520,7 +520,10 @@ function feed_content_type( $type = '' ) {
* *
* @since 2.8 * @since 2.8
* *
* @param string $url URL to retrieve feed * @param mixed $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}
*
* @return WP_Error|SimplePie WP_Error object on failure or SimplePie object on success * @return WP_Error|SimplePie WP_Error object on failure or SimplePie object on success
*/ */
function fetch_feed( $url ) { function fetch_feed( $url ) {