Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to disable images compression ?
<?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