get_comment_type
apply_filters( ‘get_comment_type’, string $comment_type…
apply_filters( ‘get_comment_type’, string $comment_type, int $comment_ID, WP_Comment $comment )
过滤器::过滤返回的注释类型。
Filter Hook: Filters the returned comment type.
过滤器::过滤返回的注释类型。
Filter Hook: Filters the returned comment type.
目录锚点:#参数#源码
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $comment_type | (string) | 注释的类型,如“comment”、“pingback”或“trackback”。 |
| $comment_ID | (int) | 评论ID。 |
| $comment | (WP_Comment) | 注释对象。 |
源码(Source)
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 4.1.0 | wp-includes/comment-template.php:1097 | 1 | 0 |
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。

还没有任何评论,赶紧来占个楼吧!