is_feed


is_feed ( $feeds = '' )

Parameters:
  • (string|string[]) feeds Optional. Feed type or array of feed types to check against. Default empty.
Returns:
  • (bool) Whether the query is for a feed.
Defined at:

Description

Determines whether the query is for a feed.For more information on this and similar theme functions, check out the [Conditional Tags](https://developer.wordpress.org/themes/basics/conditional-tags/) article in the Theme Developer Handbook.

Related Functions

is_embed, do_feed, is_paged, add_feed, is_comment_feed

Top Google Results

User discussions

wpseek mobile