wp_filter_comment ( $commentdata )
- (array) commentdata Contains information on the comment.
- (array) Parsed comment information.
- Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Filters and sanitizes comment data.Sets the comment data 'filtered' field to true when finished. This can be
checked as to whether the comment should be filtered and to keep from
filtering the same comment more than once.