W3cubDocs

/WordPress

MagpieRSS::is_atom()

Source

File: wp-includes/rss.php

function is_atom() {
		if ( $this->feed_type == ATOM ) {
			return $this->feed_version;
		}
		else {
			return false;
		}
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/magpierss/is_atom