apply_filters( ‘comment_save_pre’, string $comment_content )

In this article

Filters the comment content before it is updated in the database.

Parameters

$comment_contentstring
The comment data.

Source

$data['comment_content'] = apply_filters( 'comment_save_pre', $data['comment_content'] );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.