MagpieRSS::is_atom() WordPress Method

MagpieRSS::is_atom() is a method used in the MagpieRSS class to check if an XML document is an Atom feed or not.

MagpieRSS::is_atom() #


Source

File: wp-includes/rss.php

375
376
377
378
379
380
381
382
function is_atom() {
    if ( $this->feed_type == ATOM ) {
        return $this->feed_version;
    }
    else {
        return false;
    }
}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by the Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.