Fires before the administration menu loads in the admin.
wp-admin/includes/menu.php:41file scope * * The hook fires before menus and sub-menus are removed based on user privileges. * * @since 2.2.0 * @access private */ do_action( '_admin_menu' );} // Create list of page plugin hook names.foreach ( $menu as $menu_page ) { $pos = strpos( $menu_page[2], '?' );Introduced in 2.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.