how to allow editor access update safe
-
hi!
i was wondering how to find out a update safe way to allow editors access the plugin. i found out in inc/class-wpsm-table-maker.php to change manage_options to edit_pages, so thats working fine…
public function add_menu_items() { $this->page_hook = add_menu_page( __('Table Maker', 'wpsm-tableplugin'), __('Table Maker', 'wpsm-tableplugin'), 'manage_options', $this->page_slug, array($this, 'print_page'), $this->base_url . "/img/icon.png" ); }
maybe there is any overwrite it or to change up it in generall in the next version.
thanks for having a look and your great work!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to allow editor access update safe’ is closed to new replies.