Hide custom image sizes from media library
Using unset and intermediate_image_sizes_advanced will work but only on images uploaded after the function is added. To change it for existing images you need to regenerate them using a plugin ( in essence deleting that image size) or just hide that option from being visible. Tested on 3.5.1 // add custom image size function mytheme_95344() … Read more