comment_edit_pre
apply_filters( ‘comment_edit_pre’, string $comment->comment_content )
过滤器::在编辑之前过滤注释内容。
Filter Hook: Filters the comment content before editing.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$comment->comment_content | (string) | 评论内容。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.0.0 | wp-admin/includes/comment.php:124 | 2 | 0 |
comment_edit_pre 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_edit_pre/