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



akismet_excluded_comment_types › WordPress过滤钩子

Since4.2.2
已弃用n/a
apply_filters( 'akismet_excluded_comment_types', array()
参数:
  • (array) $comment_types An array of comment types that won't be considered when counting a user's approved comments.
    Required: Yes
定义在:
文档:

Which comment types should be ignored when counting a user's approved comments?

Some plugins add entries to the comments table that are not actual comments that could have been checked by Akismet. Allow these comments to be excluded from the "approved comment count" query in order to avoid artificially inflating the approved comment count.





源码

$excluded_comment_types = apply_filters( 'akismet_excluded_comment_types', array() );