Wordpress - how to register plugin pages?

Discussion in 'PHP' started by Demon fox, May 11, 2008.

  1. #1
    I'm trying to find a way to register an admin interface page such as edit.php?page=custompage, without giving it a menuitem.

    Best I've managed to get is:
    add_management_page('The page', 'Find a way to remove me from the menu', 7, 'detail', 'plugin_detail'); 
    PHP:
    Theres no reason to call this page on its own, its more a response to a form.. So theres no need to have an entry for it on the menu.

    I guess I could have a blank-text menuitem, but thats a bit inefficient.
     
    Demon fox, May 11, 2008 IP