wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



akismet_excluded_comment_types › Les Filtres WordPress

Depuis4.2.2
Dépréciéen/a
apply_filters( 'akismet_excluded_comment_types', array()
Paramètres:
  • (array) $comment_types An array of comment types that won't be considered when counting a user's approved comments.
    Requis: Oui
Défini(e) dans:
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() );