wp_filter_comment


wp_filter_comment ( $commentdata )

Parameters:
  • (array) commentdata Contains information on the comment.
Returns:
  • (array) Parsed comment information.
Defined at:

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.

Related Functions

wp_delete_comment, wp_insert_comment, wp_list_comments, wp_trash_comment, wp_filter_content_tags

Top Google Results

User discussions

wpseek mobile