[Resolved] grant “author” role access to a plugin
I’m writing a plugin that needs to be accessible by authors.
To create its settings page I got:
add_menu_page('My Plugin', 'My Plugin', 'administrator', __FILE__, 'lic_settings_page');
According to the documentation, I should be able to give authors access by inputting ‘author’ instead of ‘administrator’, but I just keep receive a “You do not have sufficient permissions to access this page.” message after editing that parameter.
Any help would be greatly appreciated.
- The topic ‘[Resolved] grant “author” role access to a plugin’ is closed to new replies.