wpseek.com
A WordPress-centric search engine for devs and theme authors



akismet_excluded_comment_types › WordPress Filter Hooks

Since4.2.2
Deprecatedn/a
apply_filters( 'akismet_excluded_comment_types', array()
Parameters:
  • (array) $comment_types An array of comment types that won't be considered when counting a user's approved comments.
    Required: Yes
Defined at:
Codex:

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.





Source

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