custom_menu_order
apply_filters( ‘custom_menu_order’, bool $custom )
筛选挂钩:筛选是否启用管理菜单的自定义排序。
Filter Hook: Filters whether to enable custom ordering of the administration menu.
说明(Description)
有关重新排序菜单项的信息,请参阅“菜单顺序”过滤器。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$custom | (bool) | 是否启用自定义排序。默认为false。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.8.0 | wp-admin/includes/menu.php:259 | 0 | 0 |
custom_menu_order 为WP2原创文章,链接:https://www.wp2.cn/hook/custom_menu_order/