wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_anonymize_comment › WordPress Filter Hooks

Since4.9.6
Deprecatedn/a
apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment )
Parameters: (3)
  • (bool|string) $anon_message Whether to apply the comment anonymization (bool) or a custom message (string). Default true.
    Required: Yes
  • (WP_Comment) $comment WP_Comment object.
    Required: Yes
  • (array) $anonymized_comment Anonymized comment data.
    Required: Yes
Defined at:
Codex:

Filters whether to anonymize the comment.





Source

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