Filters WP_Comment_Query arguments when querying comments via the REST API.
$prepared_argsarray
$requestWP_REST_Request
$prepared_args = apply_filters( 'rest_comment_query', $prepared_args, $request );
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_comment_query