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



wp_anonymize_comment ›

Desde4.9.6
Obsoleton/a
apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment )
Parâmetros: (3)
  • (bool|string) Whether to apply the comment anonymization (bool). Custom prevention message (string). Default true.
    Required: Yes
  • (WP_Comment) $comment WP_Comment object.
    Required: Yes
  • (array) $anonymized_comment Anonymized comment data.
    Required: Yes
Definido em:
Codex:

Filters whether to anonymize the comment.





Fonte

$anon_message = apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment );