Core Function
View Source on Trac ↗ is_feed()
is_feed( mixed $feeds = '' ) Determines whether the query is for a feed.
Parameters 1 required
| Name / Type | Description |
|---|---|
| mixed | (string | string[]) $feeds Optional. Feed type or array of feed types to check against. Default empty. Required |
Return Value
(bool)
Whether the query is for a feed.
Function Information
Since Version
1.5.0
Source File
wp-includes/query.php
Advertisement