function plt_hide_siteground_migrator_menus() { //Hide the "SG Migrator" menu. remove_menu_page('siteground-migrator'); } add_action('admin_menu', 'plt_hide_siteground_migrator_menus', 11);
Where do I put this code?