apply_filters( ‘comment_edit_pre’, string $comment_content )

In this article

Filters the comment content before editing.

Parameters

$comment_contentstring
Comment content.

Source

$comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content );

Changelog

VersionDescription
2.0.0Introduced.

User Contributed Notes

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