How to Hide the "Image Attributes" Admin Menu

function plt_hide_auto_image_attributes_from_filename_with_bulk_updater_menus() {
	//Hide the "Settings → Image Attributes" menu.
	remove_submenu_page('options-general.php', 'image-attributes-from-filename');
}

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

Where do I put this code?