function plt_hide_seo_that_matters_menus() { //Hide the "Tools → SEO that Matters" menu. remove_submenu_page('tools.php', 'seotm'); } add_action('admin_menu', 'plt_hide_seo_that_matters_menus', 11);
Where do I put this code?