_fetch_remote_file
_response_to_rss
fetch_rss
get_rss
init
wp_rss
_fetch_remote_file(string $url, array $headers = "") : \Snoopy
_response_to_rss(array $resp) : \MagpieRSS | boolean
fetch_rss(string $url) : boolean | \MagpieRSS
get_rss(string $url, integer $num_items = 5) : boolean
You have to specify which HTML list you want, either ordered or unordered before using the function. You also have to specify how many items you wish to display. You can't display all of them like you can with wp_rss() function.
| package | External |
|---|---|
| package | External |
| since | 1.5.0 |
| subpackage | MagpieRSS |
stringURL of feed to display. Will not auto sense feed URL.
integerOptional. Number of items to display, default is all.
booleanFalse on failure.init()
wp_rss(string $url, integer $num_items = -1)