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



add_menu_classes ›

Since2.7.0
已弃用n/a
apply_filters( 'add_menu_classes', $menu )
参数:
  • (array) $menu Associative array of administration menu items.
    Required: Yes
定义在:
文档:

Filters administration menus array with classes added for top-level items.





源码

return apply_filters( 'add_menu_classes', $menu );