WordPress.org

Ready to get started?Download WordPress

Forums

Trouble adding entry to dashboard menu (1 post)

  1. lesliedellow
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.