<?php /** * Deregister the GalleryFieldImage class */ update_subtype('object', 'gallery_field_image');