admin_comment_types_dropdown
apply_filters( ‘admin_comment_types_dropdown’, string[] $comment_types )
过滤器挂钩:过滤注释类型下拉菜单。
Filter Hook: Filters the comment types dropdown menu.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$comment_types | (string[]) | 注释类型的数组。接受“Comments”、“Pings”。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-admin/includes/class-wp-comments-list-table.php:392 | 1 | 0 |
admin_comment_types_dropdown 为WP2原创文章,链接:https://www.wp2.cn/hook/admin_comment_types_dropdown/