Wordpress add a new page to admin section

Posted by Manny Calavera on Stack Overflow See other posts from Stack Overflow or by Manny Calavera
Published on 2010-05-12T22:16:33Z Indexed on 2010/05/13 0:54 UTC
Read the original article Hit count: 343

Filed under:

Hello. I have already developed my plugin for wordpress and I can manage it from admin. I have passed the access to the plugin file usin add_submenu_page. The problem is that the plugin is extending and I want to use another file that is linked from the main file. For example I have second_page.php?id=3. When I try to access this link, i get a "You do not have sufficient permissions to access this page." message. I want to "validate" this page also for using with this script and I don't know how. Ideas ?

© Stack Overflow or respective owner

Related posts about Wordpress