How to Disable PDF Thumbnail Previews in WordPress

,



Add the below code in your active theme functions.php file 

function wdm_disable_pdf_previews() { 
 $fallbacksizes = array(); 
 return $fallbacksizes; 
} 
add_filter('fallback_intermediate_image_sizes', 'wdm_disable_pdf_previews');





Related Post


Latest Post


Recent Posts Widget

Make sure to never miss a thing...

Get the latest news from the creative industry along with other creative goodies, conveniently delivered to social media.