Created
January 8, 2015 09:50
-
-
Save jbma/b578678e108a58257c95 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_page' ); | |
function __deactivate_rocket_lazyload_if_page() | |
{ | |
if( is_page('blog') ) { | |
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