File: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
-
If empty comments are not allowed, checks if the provided comment content is not empty.
Used by 1 function | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1889 -
Fires completely after a comment is created or updated via the REST API.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:759 -
Get the comment, if the ID is valid.
Used by 6 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:341 -
Checks if a comment can be edited or deleted.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1840 -
Checks a comment author email for validity.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1867 -
Filters a comment added via the REST API after it is prepared for insertion into the database.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1372 -
Retrieves the comment’s schema, conforming to JSON Schema.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1382 -
Retrieves the query params for collections.
Used by 2 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1549 -
Filters REST API collection parameters for the comments controller.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1696 -
Sets the comment_status of a given comment object when creating or updating a comment.
Used by 2 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1708 -
Checks if the post can be read.
Used by 4 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1756 -
Checks if the comment can be read.
Used by 2 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1807 -
Prepares links for the request.
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1152 -
Prepends internal property prefix to query parameters to match our response fields.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1221 -
Checks comment_approved to set comment status for single comment output.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1253 -
Prepares a single comment to be inserted into the database.
Used by 2 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1284 -
Filters whether a comment can be trashed via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:970 -
Fires after a comment is deleted via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1025 -
Prepares a single comment output for response.
Used by 5 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1040 -
Filters a comment returned from the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1141 -
Filters a comment before it is inserted via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:697 -
Fires after a comment is created or updated via the REST API.
Used by 2 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:728 -
Checks if a given REST request has access to update a comment.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:778 -
Updates a comment.
Used by 0 functions | Uses 15 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:803 -
Checks if a given request has access to delete a comment.
Used by 0 functions | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:928 -
Deletes a comment.
Used by 0 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:952 -
Filters WP_Comment_Query arguments when querying comments via the REST API.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:275 -
Checks if a given request has access to read the comment.
Used by 0 functions | Uses 8 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:381 -
Retrieves a comment.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:424 -
Checks if a given request has access to create a comment.
Used by 0 functions | Uses 10 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:444