Created
April 13, 2015 17:30
-
-
Save ellenmva/7f938a9298845e6c56f9 to your computer and use it in GitHub Desktop.
Remove DMS Image Sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Do not copy above php tag if already present in functions.php file | |
add_action('init', 'remove_dms_image_sizes'); | |
function remove_dms_image_sizes() { | |
// Remove the // in front of image sizes to remove | |
// remove_image_size('aspect-thumb'); | |
// remove_image_size( 'basic-thumb'); | |
// remove_image_size( 'landscape-thumb' ); | |
// remove_image_size( 'tall-thumb'); | |
// remove_image_size( 'big-thumb'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment