function plt_hide_plugin_central_menus() { //Hide the "Plugins → Plugin Central" menu. remove_submenu_page('plugins.php', 'plugin-central/plugin-central.class.php'); } add_action('admin_menu', 'plt_hide_plugin_central_menus', 11);
Where do I put this code?