Languages: English • feed 日本語 (Add your language)
Can be used to determine if the current query is for a feed (e.g. RSS).
<?php
if ( is_feed( $feeds ) ) {
//Do stuff
}
?>
Since: 1.5.0
is_feed() is located in wp-includes/query.php
.