wp_filter_comment
wp_filter_comment ( $commentdata )
Parameters:- (array) commentdata Contains information on the comment.
Returns:- (array) Parsed comment information.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
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.