function plt_hide_fatal_plugin_auto_deactivator_menus() { //Hide the "Tools → Fatal Plugin Log" menu. remove_submenu_page('tools.php', 'fpad-log'); } add_action('admin_menu', 'plt_hide_fatal_plugin_auto_deactivator_menus', 11);
Where do I put this code?