function plt_hide_s3cloud_menus() { //Hide the "Tools → S3 cloud" menu. remove_submenu_page('tools.php', 's3cloud_admin_page'); } add_action('admin_menu', 'plt_hide_s3cloud_menus', 11);
Where do I put this code?