wpseek.com
A WordPress-centric search engine for devs and theme authors
mu_menu_items › WordPress Filter Hooks
SinceMU (3.0.0)
Deprecatedn/a
› apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' )
Parameters: |
|
Defined at: |
|
Codex: |
Filters available network-wide administration menu options.
Options returned to this filter are output as individual checkboxes that, when selected, enable site administrator access to the specified administration menu in certain contexts.
Adding options for specific menus here hinges on the appropriate checks and capabilities being in place in the site dashboard on the other side. For instance, when the single default option, 'plugins' is enabled, site administrators are granted access to the Plugins screen in their individual sites' dashboards.
Related Functions: is_nav_menu_item, _sort_nav_menu_items, wp_get_nav_menu_items, wpmu_menu, get_media_items, wp_setup_nav_menu_item
Related Hooks: wp_nav_menu_items, nav_menu_item_args, nav_menu_item_id, wp_get_nav_menu_items, submenu_file