Support » Plugins and Hacks » Hacks » Trouble adding entry to dashboard menu

  • I am trying to write a plugin which will involve adding some items to the dashboard menu. However, no matter what capability I set for it, I keep being told that I do not have sufficient permissions to access this page. Since I am logged in as an administrator, that shouldn’t be a problem, should it?

    Here is the relevant line of code:

    add_dashboard_page(‘Read Note’, ‘Read note’, ‘edit_pages’, ‘qn_read_note’, ‘qn_readnotes’);

    Has anybody any ideas please?

  • The topic ‘Trouble adding entry to dashboard menu’ is closed to new replies.