admin_menu

admin_menu

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('admin_menu') is found 1 times:

  • /wp-admin/includes/menu.php line 161
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
         * @since 1.5.0
         *
         * @param string $context Empty context.
         */
        do_action( 'admin_menu', '' );
    }
     
    /*
     * Remove menus that have no accessible submenus and require privileges
     * that the user does not have. Run re-parent loop again.
     */

See this hook used in plugins:

Examples using admin_menu