pre_comment_content
apply_filters( ‘pre_comment_content’, string $comment_content )
过滤器::在设置注释内容之前对其进行过滤。
Filter Hook: Filters the comment content before it is set.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$comment_content | (string) | 评论内容。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.5.0 | wp-includes/comment.php:1995 | 1 | 0 |
pre_comment_content 为WP2原创文章,链接:https://www.wp2.cn/hook/pre_comment_content/