Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php | do_action | 1024 | /** * Fires after a comment is deleted via the REST API. * * @since 4.7.0 * * @param WP_Comment $comment The deleted comment data. * @param WP_REST_Response $response The response returned from the API. * @param WP_REST_Request $request The request sent to the API. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
WP_Comment | $comment | The deleted comment data. |
WP_REST_Response | $response | The response returned from the API. |
WP_REST_Request | $request | The request sent to the API. |