function plt_hide_fatal_error_notify_menus() { //Hide the "Settings → Fatal Error Notify" menu. remove_submenu_page('options-general.php', 'fatal-error-notify'); } add_action('admin_menu', 'plt_hide_fatal_error_notify_menus', 11);
Where do I put this code?