apply_filters( 'preprocess_comment', array $commentdata )

Filters a comment’s data before it is sanitized and inserted into the database.


Parameters

$commentdata

Comment data.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.0 Introduced.