Filters whether to anonymize the comment.
Parameters
$anon_message
bool|string- Whether to apply the comment anonymization (bool) or a custom message (string). Default true.
$comment
WP_Comment- WP_Comment object.
$anonymized_comment
array- Anonymized comment data.
Source
$anon_message = apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment );
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.