Add menu and submenu in admin with a URL instead of slug?
I use this function and hook: function mysite_admin_menu() { add_menu_page( ‘Categories’, ‘CatĂ©gories’, ‘administrator’, ‘categories’, ‘a_function’ ); add_submenu_page( ‘categories’, ‘Manage’, ‘Manage’, ‘administrator’, ‘xxx’, ‘a_function’ … Read more