comment_edit_pre WordPress Filter Hook
The comment_edit_pre hook is triggered before a comment is edited. It allows you to modify the comment data before it is saved to the database.
apply_filters( 'comment_edit_pre', string $comment_content ) #
Filters the comment content before editing.
Parameters
- $comment_content
(string)Comment content.
Source
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |