add_menu_classes


add_menu_classes ( $menu )

Parameters:
  • (array) menu The array of administration menu items.
Returns:
  • (array) The array of administration menu items with the CSS classes added.
Defined at:

Description

Adds CSS classes for top-level administration menu items.The list of added classes includes `.menu-top-first` and `.menu-top-last`.

Related Functions

add_menu_page, add_submenu_page, add_cssclass, comment_class, do_enclose

Top Google Results

User discussions

wpseek mobile