WP_REST_Comments_Controller::check_is_comment_content_allowed()
Method: If empty comments are not allowed, checks if the provided comment content is not empty.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1889
Method: If empty comments are not allowed, checks if the provided comment content is not empty.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1889
Action Hook: Fires completely after a comment is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:759
Method: Get the comment, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:341
Method: Checks if a comment can be edited or deleted.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1840
Method: Checks a comment author email for validity.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1867
Filter Hook: Filters a comment added via the REST API after it is prepared for insertion into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1372
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1382
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1549
Filter Hook: Filters REST API collection parameters for the comments controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1696
Method: Sets the comment_status of a given comment object when creating or updating a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1708
Method: Checks if the post can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1756
Method: Checks if the comment can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1807
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1152
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:1221
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1253
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1284
Filter Hook: Filters whether a comment can be trashed via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:970
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1025
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1040
Filter Hook: Filters a comment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1141
Filter Hook: Filters a comment before it is inserted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:697
Action Hook: Fires after a comment is created or updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:728
Method: Checks if a given REST request has access to update a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:778
Method: Updates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:803
Method: Checks if a given request has access to delete a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:928
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:952
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: Checks if a given request has access to read the comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:381
Method: Retrieves a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:424
Method: Checks if a given request has access to create a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:444