Created
July 13, 2018 17:24
-
-
Save KaineLabs/5950200d0dff734ab594eddfc52bfc33 to your computer and use it in GitHub Desktop.
How to disable images compression ?
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 | |
/** | |
* Disable Images Compression | |
*/ | |
function yzc_enable_attachments_compression( $enable ) { | |
return false; | |
} | |
add_filter('yz_enable_attachments_compression', 'yzc_enable_attachments_compression' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment