过滤器::过滤返回的注释类型。
apply_filters( ‘get_comment_type’, string $comment_type , int $comment_ID , WP_Comment $comment )
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $comment_type | (string) | 注释的类型,如“comment”、“pingback”或“trackback”。 |
| $comment_ID | (int) | 评论ID。 |
| $comment | (WP_Comment) | 注释对象。 |
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.1.0 | wp-includes/comment-template.php:1097 | 1 | 0 |





















