How to Hide the "ShinPix" Admin Menu

function plt_hide_shinpix_menus() {
	//Hide the "Settings → ShinPix" menu.
	remove_submenu_page('options-general.php', 'shinpix');
}

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

Where do I put this code?