A WordPress-centric search engine for devs and theme authors



the_comments ›

Since3.1.0
Deprecatedn/a
apply_filters_ref_array( 'the_comments', array( $_comments, &$this )
Parameters: (2)
  • (array) $_comments An array of comments.
    Required: Yes
  • (WP_Comment_Query) $this Current instance of WP_Comment_Query (passed by reference).
    Required: Yes
Defined at:
Codex:

Filters the comment query results.





Source

$_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) );