Filters the comment content before it is updated in the database.
$comment_contentstring
$data['comment_content'] = apply_filters( 'comment_save_pre', $data['comment_content'] );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_save_pre