Created
December 1, 2016 17:01
-
-
Save jbma/08d23dd6e963aaa22697e543b316f1cb to your computer and use it in GitHub Desktop.
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 | |
function add_image_insert_override($sizes){ | |
unset( $sizes['thumbnail_1']); | |
unset( $sizes['large']); | |
return $sizes; | |
} | |
add_filter('intermediate_image_sizes_advanced', 'add_image_insert_override' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment