Filter hook 'akismet_excluded_comment_types'
in WP Core File wp-content/plugins/akismet/class.akismet.php at line 651
Description
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.
Occurrences
Filename |
Line Number |
wp-content/plugins/akismet/class.akismet.php |
651 |
Parameters
Type |
Name |
Description |
array |
$comment_types |
An array of comment types that won't be considered when counting a user's approved comments. |
PHP Doc
/**
* 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.
*
* @param array $comment_types An array of comment types that won't be considered
* when counting a user's approved comments.
*
* @since 4.2.2
*/