Summery Summery
Filters arguments, before passing to WP_Comment_Query, when querying comments via the REST API.
Syntax Syntax
Parameters Parameters
- $prepared_args
-
Array of arguments for WP_Comment_Query.
- $request
-
The current request.
Source Source
File: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |