WP_REST_Comments_Controller::prepare_status_response()
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1268
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1268
Method: Retrieves the CURIEs (compact URIs) used for relations.
Source: wp-includes/rest-api/class-wp-rest-server.php:652
Filter Hook: Filters REST API authentication errors.
Source: wp-includes/rest-api/class-wp-rest-server.php:197
Method: Registers the routes for comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:46
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1299
Method: Embeds the links from the data into the request.
Source: wp-includes/rest-api/class-wp-rest-server.php:707
Filter Hook: Filters whether to send nocache headers on a REST API request.
Source: wp-includes/rest-api/class-wp-rest-server.php:496
Method: Checks if a given request has access to read comments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:125
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1397
Method: Wraps the response in an envelope.
Source: wp-includes/rest-api/class-wp-rest-server.php:784