WordPress开发者和主题制作者的搜索引擎



wp_anonymize_comment ›

Since4.9.6
已弃用n/a
apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment )
参数: (3)
  • (bool|string) Whether to apply the comment anonymization (bool). Custom prevention message (string). Default true.
    Required: Yes
  • (WP_Comment) $comment WP_Comment object.
    Required: Yes
  • (array) $anonymized_comment Anonymized comment data.
    Required: Yes
定义在:
文档:

Filters whether to anonymize the comment.





源码

$anon_message = apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment );