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



preprocess_comment ›

Since1.5.0
已弃用n/a
apply_filters( 'preprocess_comment', $commentdata )
参数:
  • (array) $commentdata Comment data.
    Required: Yes
定义在:
文档:

Filters a comment's data before it is sanitized and inserted into the database.





源码

$commentdata = apply_filters( 'preprocess_comment', $commentdata );