wp_anonymize_comment

Advertisement

Summery Summery

Filters whether to anonymize the comment.

Syntax Syntax

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

Parameters 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 Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.6 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.