I follow instruction on this page to remove some admin menus.
But is seems it only works on default wp admin menus. Admin menu added by plugins is not getting removed.
For example, I tried removing admin menu of wordpress seo by yoast using
remove_menu_page( 'admin.php?page=wpseo_dashboard' );
But the menu remains there. All other standard wp admin menus were removed except wp seo by yoast.
Any idea how can I also remove admin menu of plugins?
I saw some similar questions but the recommended codes doesn't seem to be 3.8.1 compatible so I added this question to start a new fresh question specific to 3.8.1