Function: fetch_rss

fetch_rss( string $url )

Build Magpie object based on RSS from URL.

Shortcut: fr

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.

Parameters

Name Type(s) Default Value Description
$url string

URL to retrieve feed

Returns

boolean | MagpieRSS

false on failure or MagpieRSS object on success.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.