How to Hide the "PixelFlow Settings" Admin Menu

function plt_hide_pixelflow_menus() {
	//Hide the "Settings → PixelFlow Settings" menu.
	remove_submenu_page('options-general.php', 'pixelflow-settings');
}

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

Where do I put this code?