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

git-svn-id: http://core.svn.wordpress.org/trunk@24054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-04-22 20:24:41 +00:00
parent a9712e0183
commit 4c4147a322
1 changed files with 8 additions and 5 deletions

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 ) {