i´am developing my own WP plugin with custom functions and i would like to show the new submenu in the standard admin panel for everyone, who logs in. My code:
$capa = 'administrator' or 'author' or 'visitor'; $this->pagehook = $page = add_menu_page(__('Myplugin','my_plugin'), __('Myplugin','my_plugin'),$capa, $this->page_id, array($this,'render') )
As you can see, i defined 1 variable
$capa, what can be one of the three strings. My problem is that the plugin is visible only when i´m logged in as admin. When I log in as visitor or author, the plugin is not visible.
Can u help me?