How to Hide the "Settings" Admin Menu

function plt_hide_3q_video_connect_menus() {
	//Hide the "Settings" menu.
	remove_menu_page('3Q Media settings');
}

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

Where do I put this code?