Created
October 13, 2015 14:05
-
-
Save jbma/9d373c73542b8ea8099b to your computer and use it in GitHub Desktop.
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 | |
add_filter( 'wp', '__deactivate_rocket_lazyload_if_admin' ); | |
function __deactivate_rocket_lazyload_if_admin() | |
{ | |
if( is_admin() ) { | |
add_filter( 'do_rocket_lazyload', '__return_false' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment