WordPress at Your Fingertips
function is not described

WP_Query::is_comments_popup() public WP 3.1.0

Deprecated from version 4.5.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Whether the current URL is within the comments popup window.

{} It's a method of the class: WP_Query{}

No Hooks.

Return

false. Always returns false.

Usage

global $wp_query;
$wp_query->is_comments_popup();

Changelog

Since 3.1.0 Introduced.
Deprecated 4.5.0

Code of WP_Query::is_comments_popup() WP 5.8

<?php
public function is_comments_popup() {
	_deprecated_function( __FUNCTION__, '4.5.0' );

	return false;
}