[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Build Administration Menu.

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

Defines 3 functions

  add_cssclass()
  add_menu_classes()
  sort_menu()

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 : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref