Filters arguments, before passing to WP_Comment_Query, when querying comments via the REST API.
WP_REST_Comments_Controller::get_items
Retrieves a list of comment items.
WP_REST_Comments_Controller::get_items_permissions_check
Checks if a given request has access to read comments.
WP_REST_Comments_Controller::register_routes
Registers the routes for the objects of the controller.
Advertisement
WP_REST_Comments_Controller::__construct
Constructor.
WP_REST_Comments_Controller
Core controller used to access comments via the REST API.
comment_text
This filter is documented in wp-includes/comment-template.php