Used By
Used By | Description |
---|---|
wp-includes/comment.php: get_page_of_comment() | Calculate what page number a comment will appear on for comment paging. |
Filters the arguments used to query comments in get_page_of_comment().
(array) Array of WP_Comment_Query arguments.
(string) Limit paginated comments to those matching a given type. Accepts 'comment', 'trackback', 'pingback', 'pings' (trackbacks and pingbacks), or 'all'. Default 'all'.
(int) ID of the post.
(string) Comment fields to return.
(bool) Whether to return a comment count (true) or array of comment objects (false).
(string) Comment status.
(int) Parent ID of comment to retrieve children of.
(array) Date query clauses to limit comments by. See WP_Date_Query.
(array) Array of IDs or email addresses whose unapproved comments will be included in paginated comments.
File: wp-includes/comment.php
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_page_of_comment_query_args