rest_prepare_comment
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 a comment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1139
Method: Get the comment, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:340
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
Method: Checks if a given request has access to create a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:443
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1282
Filter Hook: Filters whether comments can be created via the REST API without authentication.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:465