WP_Query::is_comment_feed() – Is the query for a comments feed?

You appear to be a bot. Output may be restricted

Description

Is the query for a comments feed?

Usage

$bool = WP_Query::is_comment_feed();

Parameters

Returns

bool Whether the query is for a comments feed.

Source

File name: wordpress/wp-includes/class-wp-query.php
Lines:

1 to 3 of 3
  public function is_comment_feed() {
    return (bool) $this->WP_Query::is_comment_feed;
  }
 

 View on GitHub View on Trac