This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Admin Menu Class by 010Pixel


This plugin is for Theme Developers to create menu on left navigation in wordpress admin panel. It simplifies code for creating menus/submenus.
Supports including files for each page if necessary.


Create arguments array (as shown in sample code in plugin file) and call the class, it will handle everything.

For any query, you can contact me at 010 Pixel


  1. Unpack the download-package
  2. Upload folder include all files to the /wp-content/plugins/ directory. The final directory tree should look like /wp-content/plugins/010pixel-admin-menu-class/admin_menu_class_by_010pixel.php
  3. Activate the plugin through the Plugins menu in WordPress
  4. That’s it, you can start using use this class in your theme to make menus in admin panel.
  • or use the automatic install via backend of WordPress


How to use this class?

The plugin file contains a sample code which explains how to use this class to create menus.

How to include file for the page?

Add a parameter called 'include' => 'file_path' for any menu/submenu item you want to include file for.

Contributors & Developers

“Admin Menu Class by 010Pixel” is open source software. The following people have contributed to this plugin.




  • Initial release.


  • Added support for including files for each menu/submenu item


  • Removed bug in converting users to array of users [line: 213, 244]


  • Create only those menu/submenu item which are necessary for logged-in user roles