How to Hide the "HTTP Headers" Admin Menu

function plt_hide_http_headers_menus() {
	//Hide the "Settings → HTTP Headers" menu.
	remove_submenu_page('options-general.php', 'http-headers');
}

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

Where do I put this code?