wpseek.com
A WordPress-centric search engine for devs and theme authors



add_menu_classes › WordPress Filter Hooks

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 menu array with classes added for top-level items.





Source

return apply_filters( 'add_menu_classes', $menu );