apply_filters( 'wp_anonymize_comment', bool|string , WP_Comment $comment, array $anonymized_comment )

Filters whether to anonymize the comment.


Parameters

Whether to apply the comment anonymization (bool). Custom prevention message (string). Default true.

$comment

WP_Comment object.

$anonymized_comment

Anonymized comment data.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.6 Introduced.