W3cubDocs

/WordPress

apply_filters( 'add_menu_classes', array $menu )

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

Parameters

$menu

(array) Associative array of administration menu items.

Source

File: wp-admin/includes/menu.php

View on Trac

Changelog

Version Description
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/add_menu_classes