wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



akismet_excluded_comment_types › Hooks de Filtros WordPress

Desde4.2.2
Obsoleton/a
apply_filters( 'akismet_excluded_comment_types', array()
Parâmetros:
  • (array) $comment_types An array of comment types that won't be considered when counting a user's approved comments.
    Required: Yes
Definido em:
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.





Fonte

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