Administration Menus

Administration Menus are the interfaces displayed in WordPress Administration. They allow you to add option pages for your plugin.

Go through the Administration Menus handbook page to learn more. Also, see the menu structure and its positions. Using menu position arguments, you can display a menu item after or before other menu items.

Coding Exercise

Go through the admin_menu_page() documentation, and register an admin menu with the following requirements:

  • The name of the admin menu should be “Custom Menu.”
  • The menu should be displayed only when the user is an administrator.
  • The admin menu should have an icon.