MagpieRSS::is_rss() WordPress Method
The MagpieRSS::is_rss() method is used to check if a given string is an RSS feed. This is useful for checking if a given URL is an RSS feed before trying to parse it with MagpieRSS.
MagpieRSS::is_rss() #
Source
File: wp-includes/rss.php
function is_rss () {
if ( $this->feed_type == RSS ) {
return $this->feed_version;
}
else {
return false;
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub