[closed] what am i doing wrong (2 posts)

  1. shaquilleray
    Posted 5 years ago #


    I am wondering why my plugin is bringing up the error message;
    You do not have sufficient permissions to access this page.

    when you go to the options page. After looking at various threads i believe it has something to do with this piece of code creating the page. Please help me fix this.

    function wert_menu()
    global $wpdb;
    include 'wert_admin_panel.php';

    function wert_admin_actions()
    add_options_page("Wert Info", "Wert Info", 1,
    "wert info", "wert_menu");

    add_action('admin_menu', 'wert_admin_actions');


    Ignore the <!-- and -->

  2. Samuel B

    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.