How to Hide the "404 Solution" Admin Menu

function plt_hide_404_solution_menus() {
	//Hide the "Settings → 404 Solution" menu.
	remove_submenu_page('options-general.php', 'abj404_solution');
}

add_action('admin_menu', 'plt_hide_404_solution_menus', 11);

Where do I put this code?