Description
Filters whether to anonymize the comment.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment.php | 3888 |
Parameters
Type | Name | Description |
---|---|---|
bool|string | $anon_message | Whether to apply the comment anonymization (bool) or a custom message (string). Default true. |
WP_Comment | $comment | WP_Comment object. |
array | $anonymized_comment | Anonymized comment data. |
PHP Doc
/**
* Filters whether to anonymize the comment.
*
* @since 4.9.6
*
* @param bool|string $anon_message Whether to apply the comment anonymization (bool) or a custom
* message (string). Default true.
* @param WP_Comment $comment WP_Comment object.
* @param array $anonymized_comment Anonymized comment data.
*/