Hey, you're early! MD6.0 is almost live and this website is still rolling out so please, pardon the dust.

Skip to content

De-register custom image upload sizes

Marketers Delight registers its own custom image sizes to help better format images in specific layout areas using the native add_image_size WordPress function.

Each time you upload an image, WordPress creates a separate cropped version of each image and saves it to your uploads folder.

Not every version of these images may be used in your site, so to help cut down the number of extra images stored to your site you can use this simple filter to de-register any custom image sizes you don’t need.

Tip: after enabling this filter in your child theme, or anywhere else you execute custom functions, run the Regenerate Thumbnails plugin to delete all unused images and free up your disk space.