How to Hide the "Cookies and Content Security Policy" Admin Menu

function plt_hide_cookies_and_content_security_policy_menus() {
	//Hide the "Settings → Cookies and Content Security Policy" menu.
	remove_submenu_page('options-general.php', 'cacsp_settings');
}

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

Where do I put this code?