A WordPress-centric search engine for devs and theme authors



add_menu_classes ›

Since2.7.0
Deprecatedn/a
apply_filters( 'add_menu_classes', $menu )
Parameters:
  • (array) $menu Associative array of administration menu items.
    Required: Yes
Defined at:
Codex:

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





Source

return apply_filters( 'add_menu_classes', $menu );