Last active
May 23, 2016 12:29
-
-
Save lenivene/a723956f93b410c7990a to your computer and use it in GitHub Desktop.
Disable WordPress Responsive Images
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
<?php | |
/** | |
* Disable WordPress Responsive Images | |
*/ | |
add_filter( 'wp_calculate_image_srcset', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment