Created
February 19, 2016 02:50
-
-
Save benpearson/9714f3353c88df6e0bb1 to your computer and use it in GitHub Desktop.
WordPress - Disable responsive images
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 | |
add_filter( 'max_srcset_image_width', function (){ | |
return 1; | |
} ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment