Created
October 14, 2017 03:55
-
-
Save humbertocastelo/487ec68236d5c23daa90623e048a378f to your computer and use it in GitHub Desktop.
jpeg_quality 90
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 | |
function my_prefix_jpeg_quality( $quality, $context ) { | |
return 90; | |
} | |
add_filter( 'jpeg_quality', 'my_prefix_jpeg_quality', 10, 2 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment