apply_filters( 'wp_anonymize_comment', bool|string , WP_Comment $comment , array $anonymized_comment )
Filters whether to anonymize the comment.
Description Description
Parameters Parameters
-
(bool|string) Whether to apply the comment anonymization (bool). Custom prevention message (string). Default true.
- $comment
-
(WP_Comment) WP_Comment object.
- $anonymized_comment
-
(array) Anonymized comment data.
Source Source
File: wp-includes/comment.php
Changelog Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |