Used By
Used By | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_collection_params() | Retrieves the query params for collections. |
Filter collection parameters for the comments controller.
This filter registers the collection parameter, but does not map the collection parameter to an internal WP_Comment_Query parameter. Use the rest_comment_query
filter to set WP_Comment_Query parameters.
(array) JSON Schema-formatted collection parameters.
File: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_comment_collection_params