Title: MagpieRSS::is_atom
Published: April 25, 2014
Last modified: August 20, 2026

---

# MagpieRSS::is_atom()

## In this article

 * [Source](https://developer.wordpress.org/reference/classes/magpierss/is_atom/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/magpierss/is_atom/?output_format=md#related)

[ Back to top](https://developer.wordpress.org/reference/classes/magpierss/is_atom/?output_format=md#wp--skip-link--target)

## 󠀁[Source](https://developer.wordpress.org/reference/classes/magpierss/is_atom/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/rss.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/rss.php#L378)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/rss.php#L378-L385)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/magpierss/is_atom/?output_format=md#related)󠁿

| Used by | Description | 
| [MagpieRSS::normalize()](https://developer.wordpress.org/reference/classes/magpierss/normalize/)`wp-includes/rss.php` |  |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fmagpierss%2Fis_atom%2F)
before being able to contribute a note or feedback.