wpseek.com
WordPress开发者和主题制作者的搜索引擎



custom_menu_order › WordPress过滤钩子

Since2.8.0
已弃用n/a
› apply_filters( 'custom_menu_order', false )
参数:
  • () custom Whether custom ordering is enabled. Default false.
    Required: Yes
定义在:
文档:

Filters whether to enable custom ordering of the administration menu.

See the {@see 'menu_order'} filter for reordering menu items.




源码

if ( apply_filters( 'custom_menu_order', false ) ) {