WP_REST_Comments_Controller::prepare_item_for_response()
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1039
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1039
Filter Hook: Filters the response immediately after executing any REST API callbacks.
Source: wp-includes/rest-api/class-wp-rest-server.php:1242
Method: Retrieves a list of comment items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:194
Filter Hook: Filters a comment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1139
Filter Hook: Filters WP_Comment_Query arguments when querying comments via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:275
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1150
Method: Checks if a given request has access to read the comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:380
Method: Prepends internal property prefix to query parameters to match our response fields.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1219
Method: Retrieves a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:423
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1251