On this page
apply_filters( 'comment_edit_pre', string $comment_content )
Filters the comment content before editing.
Parameters
$comment_contentstring-
Comment content.
Source
File: wp-admin/includes/comment.php. View all references
$comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content );
Related
Used By
| Used By | Description |
|---|---|
| WP_Comments_List_Table::column_comment() wp-admin/includes/class-wp-comments-list-table.php | |
| get_comment_to_edit() wp-admin/includes/comment.php | Returns a WP_Comment object based on comment ID. |
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_edit_pre