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



wp_anonymize_comment › WordPress过滤钩子

Since4.9.6
已弃用n/a
apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment )
参数: (3)
  • (bool|string) $anon_message Whether to apply the comment anonymization (bool) or a custom 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 );