I want to remove the "SEO"-menu from the dashboard for some users.
So I tried the following code in the functions.php wich worked well for other menuitems: remove_menu_page('wpseo_dashboard');
I also tried: remove_menu_page('admin.php?page=wpseo_dashboard');
Both won't work... but I don't know why. :(
When I took a look in the $menu I found:
 => Array
 => SEO
 => manage_options
 => wpseo_dashboard
 => WordPress SEO Configuration
 => menu-top toplevel_page_wpseo_dashboard menu-top-last
 => toplevel_page_wpseo_dashboard
 => http://www.myurl.de/wp-content/plugins/wordpress-seo/images/yoast-icon.png )
So, there I can see the "wpseo_dashboard"!
Can someone help here? Thanks!