grant “author” role access to a plugin
-
Hi,
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.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘grant “author” role access to a plugin’ is closed to new replies.