Читать книгу Professional WordPress Plugin Development - Brad Williams - Страница 71
ADDING MENUS AND SUBMENUS
ОглавлениеMany plugins you create need some type of menu item, which generally links to your plugin's settings page where users can configure your plugin options. WordPress features two methods for adding a plugin menu: a top‐level menu or a submenu item.