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:648
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:648
Method: Get the comment, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:319
Method: Checks if a comment can be edited or deleted.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1654
Method: Checks a comment author email for validity.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1681
Filter Hook: Filters a comment after it is prepared for the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1207
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1217
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1377
Filter Hook: Filter collection parameters for the comments controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1524
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:1536
Method: Checks if the post can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1584
Method: Checks if the comment can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1621
Filter Hook: Filters whether a comment can be trashed.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:825
Action Hook: Fires after a comment is deleted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:868
Method: Prepares a single comment output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:882
Filter Hook: Filters a comment returned from the API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:979
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:990
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:1060
Method: Checks comment_approved to set comment status for single comment output.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1092
Method: Prepares a single comment to be inserted into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1123
Method: Updates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:688
Method: Checks if a given request has access to delete a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:787
Method: Deletes a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:807
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:590
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:617
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:667
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:254
Method: Checks if a given request has access to read the comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:349
Method: Retrieves a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:380
Method: Checks if a given request has access to create a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:400
Filter Hook: Filter whether comments can be created without authentication.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:418