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:1885
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:1885
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:758
Method: Get the comment, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:340
Method: Checks if a comment can be edited or deleted.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1836
Method: Checks a comment author email for validity.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1863
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:1370
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1380
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1547
Filter Hook: Filters REST API collection parameters for the comments controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1694
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:1706
Method: Checks if the post can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1754
Method: Checks if the comment can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1803
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1150
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: 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: 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 a comment can be trashed via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:969
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1024
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1039
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 before it is inserted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:696
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:727
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:777
Method: Updates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:802
Method: Checks if a given request has access to delete a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:927
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:951
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:380
Method: Retrieves a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:423
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