wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



akismet_excluded_comment_types › WordPress Filter Hooks

Seit4.2.2
Veraltetn/v
apply_filters( 'akismet_excluded_comment_types', array()
Parameter:
  • (array) $comment_types An array of comment types that won't be considered when counting a user's approved comments.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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