Description
Filters a comment's data before it is sanitized and inserted into the database.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment.php | 2244 |
Parameters
Type | Name | Description |
---|---|---|
array | $commentdata | Comment data. |
PHP Doc
/**
* Filters a comment's data before it is sanitized and inserted into the database.
*
* @since 1.5.0
* @since 5.6.0 Comment data includes the `comment_agent` and `comment_author_IP` values.
*
* @param array $commentdata Comment data.
*/