Created
July 3, 2017 06:27
-
-
Save webdevsuperfast/a7cf00d8013abb433f17855909219dd4 to your computer and use it in GitHub Desktop.
Eliminate thumbnails
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 | |
@link https://bavotasan.com/2015/eliminate-thumbnails-custom-post-types/ | |
add_filter( 'intermediate_image_sizes', rma_custom_intermediate_image_sizes, 999 ); | |
function rma_custom_intermediate_image_sizes( $image_sizes ){ | |
return array(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment