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:1878
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:1878
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:756
Method: Get the comment, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:338
Method: Checks if a comment can be edited or deleted.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1829
Method: Checks a comment author email for validity.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1856
Filter Hook: Filters a comment after it is prepared for the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1363
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1373
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1540
Filter Hook: Filters collection parameters for the comments controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1687
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:1699
Method: Checks if the post can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1747
Method: Checks if the comment can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1796
Filter Hook: Filters whether a comment can be trashed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:967
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1022
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1036
Filter Hook: Filters a comment returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1133
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1144
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:1212
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1244
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1275
Method: Checks if a given request has access to delete a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:925
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:949
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:694
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:725
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:775
Method: Updates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:800
Filter Hook: Filters arguments, before passing to WP_Comment_Query, when querying comments via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:273
Method: Checks if a given request has access to read the comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:378
Method: Retrieves a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:421
Method: Checks if a given request has access to create a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:441