Take the tour ×  I am developing one of my first plugins, and
have come across a error:  You do not have sufficient
permissions to access this page  The plugin has a wizard that
uses several forms, obviously I don't want people selecting
later forms using the menu.  Is there a way to "silently"
register a page? Basically, register the page without having it
appear in any menu.  (I don't like my work around)
share|improve this question add comment  1 Answer  up vote 2
down vote accepted  The mighty Codex holds the answers:    1. If
you're running into the »You do not have sufficient permissions
to access this page.« message in a wp_die() screen, then you've
hooked too early. The hook you should use is admin_menu.    2.
$parent_slug: Use NULL or set to options.php if you want to
create a page that doesn't appear in any menu  share|improve
this answer I am rolling my eyes and laughing at myself. I
wouldn't have thought to look on the "add_submenu_page" to
figure out how not add a submenu page. Question answered