apply_filters_ref_array( 'the_comments', WP_Comment[] $_comments, WP_Comment_Query $this )

Filters the comment query results.


Description


Parameters

$_comments

(WP_Comment[]) An array of comments.

$this

(WP_Comment_Query) Current instance of WP_Comment_Query (passed by reference).


Top ↑

Source

File: wp-includes/class-wp-comment-query.php

View on Trac


Top ↑

Changelog

Version Description
3.1.0 Introduced.