WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_anonymize_comment

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php apply_filters 3844 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
bool|string $anon_message Whether to apply the comment anonymization (bool) or a custom
WP_Comment $comment WP_Comment object.
array $anonymized_comment Anonymized comment data.