Summery Summery
Filters a comment after it is prepared for the database.
Syntax Syntax
Description Description
Allows modification of the comment right after it is prepared for the database.
Parameters Parameters
- $prepared_comment
-
The prepared comment data for
wp_insert_comment
. - $request
-
The current request.
Source Source
File: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |