Take the 2-minute tour ×

What is the correct way to add new pages to the wordpress dashboard. Not like creating a dashboard page, but instead make arbitrary pages as needed for use in lightboxes, etc.

One example, I need to query the server to get an "email preview" for a plugin I am working on. How do I create a URL that will run that particular script?

I imagine the URL would be like /wp-admin/index.php?page=my_plugin_email_preview

What functions do I need to get started?

share|improve this question
codex.wordpress.org –  Damien Pirsy Nov 19 '12 at 20:28

1 Answer 1

up vote 0 down vote accepted

At least:

share|improve this answer
The problem is I don't need a link to the page, I just want a URL. The intention is to use these for ajax or pull them in an iframe. Can these make a page without creating the navigation menus? –  RadGH Nov 19 '12 at 20:36
Yes, setting the menu title parameter to "". Check the functions in Codex. I don't know if there is something like and add_page() function that accomplish what you want. I haven't check that. –  Felipe Alameda A Nov 19 '12 at 20:55

Your Answer


