is_feed


is_feed ( $feeds = '' )

Parameters:
  • (string|array) $feeds Optional feed types to check.
Returns:
  • (bool)
Defined at:

Description

Determines whether the query is for a feed.

For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 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