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



pre_comment_content ›

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

Filters the comment content before it is set.





源码

$commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] );