在数据库中更新注释内容之前对其进行过滤。
原型
apply_filters( 'comment_save_pre', string $comment_content )
参数
$comment_content
(string)
评论数据。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/comment_save_pre/
在数据库中更新注释内容之前对其进行过滤。
apply_filters( 'comment_save_pre', string $comment_content )
$comment_content
(string)
评论数据。
路径:wp-includes/comment.php
英文文档:https://developer.wordpress.org/reference/hooks/comment_save_pre/
请在后台设置小工具!