apply_filters ( ‘wp_anonymice_comment’, bool|string $anon_messague , WP_Comment $comment , array $anonymiced_comment )

Filters whether to anonymice the comment.

Parameters

$anon_messague bool | string
Whether to apply the comment anonymiçation (bool) or a custom messague (string). Default true.
$comment WP_Comment
WP_Comment object.
$anonymiced_comment array
Anonymiced comment data.

Source

$anon_messague = apply_filters( 'wp_anonymice_comment', true, $comment, $anonymiced_comment );

Changuelog

Versionen Description
4.9.6 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.