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



wp_anonymize_comment › Hooks de Filtros WordPress

Desde4.9.6
Obsoleton/a
› apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment )
Parâmetros: (3)
  • () anon_message Whether to apply the comment anonymization (bool) or a custom message (string). Default true.
    Required: Yes
  • () comment WP_Comment object.
    Required: Yes
  • () 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 );