过滤钩子:过滤评论作者返回的IP地址。
apply_filters( ‘get_comment_author_IP’, string $comment_author_IP , int $comment_ID , WP_Comment $comment )
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $comment_author_IP | (string) | 评论作者的IP地址。 |
| $comment_ID | (int) | 评论ID。 |
| $comment | (WP_Comment) | 注释对象。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.1.0 | wp-includes/comment-template.php:280 | 1 | 0 |





















