wpseek.com
WordPress开发者和主题制作者的搜索引擎



comment_save_pre › WordPress过滤钩子

Since1.5.0
已弃用n/a
apply_filters( 'comment_save_pre', $data['comment_content'] )
参数:
  • (string) $comment_content The comment data.
    Required: Yes
定义在:
文档:

Filters the comment content before it is updated in the database.





源码

$data['comment_content'] = apply_filters( 'comment_save_pre', $data['comment_content'] );