apply_filters( "mu_menu_items", string[] $admin_menus )

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.




Associative array of the menu items available.


File: wp-admin/network/settings.php.

View all references

$menu_items = apply_filters( "mu_menu_items", array( "plugins" => __( "Plugins" ) ) );

Leave a Reply

Your email address will not be published. Required fields are marked *