How to Hide the "SVG images" Admin Menu

function plt_hide_wp_svg_images_menus() {
	//Hide the "Settings → SVG images" menu.
	remove_submenu_page('options-general.php', 'wp-svg-images.php');
}

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

Where do I put this code?