Filters whether to anonymize the comment.
$anon_messagebool|string
$commentWP_Comment
$anonymized_commentarray
$anon_message = apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment );
| Version | Description |
|---|---|
| 4.9.6 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_anonymize_comment