Last active
August 29, 2015 13:56
-
-
Save joshuafredrickson/9117537 to your computer and use it in GitHub Desktop.
WordPress: Improve jpg quality
This file contains hidden or 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
// Improve jpg quality | |
add_filter('jpeg_quality', 'op_jpeg_quality'); | |
function op_jpeg_quality($arg) { | |
return (int)80; // value between 60-100 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment