过滤器挂钩:过滤注释类型下拉菜单。
apply_filters( ‘admin_comment_types_dropdown’, string[] $comment_types )
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$comment_types | (string[]) | 注释类型的数组。接受“Comments”、“Pings”。 |
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-admin/includes/class-wp-comments-list-table.php:392 | 1 | 0 |