[Plugin: Availability Calendar] How to allow Editor to access the plugin
-
Go to the index.php of the plugin, search for this line of code (line 126:)
function admin_menu() { add_submenu_page( 'edit-pages.php', 'Manage '.$this->name, $this->name, 'administrator', $this->tag, array(&$this, 'manage') ); }
And change “administrator” to “edit_pages”, so it looks like:
function admin_menu() { add_submenu_page( 'edit-pages.php', 'Manage '.$this->name, $this->name, 'edit_pages', $this->tag, array(&$this, 'manage') ); }
That’s all.
- The topic ‘[Plugin: Availability Calendar] How to allow Editor to access the plugin’ is closed to new replies.