@package: REST_API
-
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:1946 -
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:1973 -
classWP_REST_Controller
Core base controller for managing and interacting with REST API items.
Used by 30 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:16 -
Registers the routes for the objects of the controller.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:49 -
Retrieves the comment’s schema, conforming to JSON Schema.
Used by 2 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1487 -
Retrieves the query params for collections.
Used by 2 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1655 -
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:1802 -
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:1814 -
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:1862 -
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:1913 -
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:1477 -
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:1052 -
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:1107 -
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:1122 -
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:1229 -
Prepares links for the request.
Used by 1 function | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1240 -
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:1326 -
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:1358 -
Prepares a single comment to be inserted into the database.
Used by 2 functions | Uses 7 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1389 -
Checks if a given request has access to delete a comment.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1010 -
Deletes a comment.
Used by 0 functions | Uses 10 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1034 -
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:780 -
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:811 -
Checks if a given REST request has access to update a comment.
Used by 0 functions | Uses 6 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:861 -
Updates a comment.
Used by 0 functions | Uses 17 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:886 -
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:325 -
Checks if a given request has access to read the comment.
Used by 0 functions | Uses 9 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:434 -
Retrieves a comment.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:479 -
Checks if a given request has access to create a comment.
Used by 0 functions | Uses 12 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:499 -
Filters whether comments can be created via the REST API without authentication.
Used by 1 function | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:531