do_action( '_admin_menu' )
Fires before the administration menu loads in the admin.
Description
The hook fires before menus and sub-menus are removed based on user privileges.
More Information
This action is used internally to append the Widgets menu to the theme’s main menu in the admin panel. It runs before the basic admin panel menu structure is complete.
Source
File: wp-admin/includes/menu.php
.
View all references
do_action( '_admin_menu' );
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |