How to Hide the "Category Settings" Admin Menu

function plt_hide_categorycustomfields_menus() {
	//Hide the "Settings → Category Settings" menu.
	remove_submenu_page('options-general.php', 'categoryCustomFields_SettingsPage');
}

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

Where do I put this code?