How to Hide the "Custom Favicon" Admin Menu

function plt_hide_custom_favicon_menus() {
	//Hide the "Settings → Custom Favicon" menu.
	remove_submenu_page('options-general.php', 'dot_cfi');
}

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

Where do I put this code?