[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





/wp-admin/includes/ -> menu.php (summary)

Build Administration Menu.

File Size: 367 lines (10 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions


Functions that are not part of a class:

add_cssclass( $class_to_add, $classes )   X-Ref
Adds a CSS class to a string.

return: string The string with the CSS class added.
param: string $class_to_add The CSS class to add.
param: string $classes      The string to add the CSS class to.

add_menu_classes( $menu )   X-Ref
Adds CSS classes for top-level administration menu items.

The list of added classes includes `.menu-top-first` and `.menu-top-last`.

return: array The array of administration menu items with the CSS classes added.
param: array $menu The array of administration menu items.

sort_menu( $a, $b )   X-Ref

return: int
param: array $a
param: array $b

Generated : Fri Mar 24 08:20:02 2023 Cross-referenced by PHPXref