Filters the arguments used to query comments in get_page_of_comment() .
$comment_argsarray
type string'comment', 'trackback', 'pingback', 'pings' (trackbacks and pingbacks), or 'all'. Default 'all'.post_id intfields stringcount boolstatus stringparent intdate_query arrayinclude_unapproved array$comment_args = apply_filters( 'get_page_of_comment_query_args', $comment_args );
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_page_of_comment_query_args