• Resolved phparrow

    (@phparrow)


    Hello,

    I am trying to create a plugin using wordpress 3.0 and I keep getting the error when trying to access a submenu.

    a sample of my code is as follows:

    add_menu_page('Plugin Title','Plugin Title', 'administrator', __FILE__, 'plugin_top_page');
    
    add_submenu_page(__FILE__, 'Settings', 'Settings', 'administrator', 'Settings', 'plugin_affiliate_page');

    But I keep getting “You do not have sufficient permissions to access this page.” I have searched all over the place and I can’t seem to find the solution.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: New] You do not have sufficient permissions to access this page.’ is closed to new replies.