Used By
Used By | Description |
---|---|
wp-includes/comment-template.php: comments_template() | Loads the comment template specified in $file. |
Filters the arguments used to query comments in comments_template().
(array) Array of WP_Comment_Query arguments.
(string|array) Field(s) to order by.
(string) Order of results. Accepts 'ASC' or 'DESC'.
(string) Comment status.
(array) Array of IDs or email addresses whose unapproved comments will be included in results.
(int) ID of the post.
(bool) Whether to refrain from querying for found rows.
(bool) Whether to prime cache for comment meta.
(bool|string) Whether to query for comments hierarchically.
(int) Comment offset.
(int) Number of comments to fetch.
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comments_template_query_args