rest_after_insert_comment
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:653
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:653
Method: Get the comment, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:324
Method: Checks if a comment can be edited or deleted.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1670
Method: Checks a comment author email for validity.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1697
Filter Hook: Filters a comment after it is prepared for the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1212
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1222
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1387
Filter Hook: Filter collection parameters for the comments controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1534
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:1546
Method: Checks if the post can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1594
Method: Checks if the comment can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1637
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1097
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1128
Filter Hook: Filters whether a comment can be trashed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:830
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:873
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:887
Filter Hook: Filters a comment returned from the API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:984
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:995
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:1065
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:672
Method: Updates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:693
Method: Checks if a given request has access to delete a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:792
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:812
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:595
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:622
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:259
Method: Checks if a given request has access to read the comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:354
Method: Retrieves a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:385
Method: Checks if a given request has access to create a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:405
Filter Hook: Filter whether comments can be created without authentication.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:423