-
Home
-
SiteSEO – SEO Simplified
- Tips
function plt_hide_siteseo_menus() {
//Hide "SiteSEO".
remove_menu_page('siteseo');
//Hide "SiteSEO → Dashboard".
remove_submenu_page('siteseo', 'siteseo');
//Hide "SiteSEO → Titles & Metas".
remove_submenu_page('siteseo', 'siteseo-titles');
//Hide "SiteSEO → Sitemaps".
remove_submenu_page('siteseo', 'siteseo-sitemaps');
//Hide "SiteSEO → Social Networks".
remove_submenu_page('siteseo', 'siteseo-social');
//Hide "SiteSEO → Analytics".
remove_submenu_page('siteseo', 'siteseo-analytics');
//Hide "SiteSEO → Instant Indexing".
remove_submenu_page('siteseo', 'siteseo-instant-indexing');
//Hide "SiteSEO → Advanced".
remove_submenu_page('siteseo', 'siteseo-advanced');
//Hide "SiteSEO → Tools".
remove_submenu_page('siteseo', 'siteseo-tools');
}
add_action('admin_menu', 'plt_hide_siteseo_menus', 1000);
Where do I put this code?