Last active
May 4, 2020 07:10
-
-
Save htdat/53c0821a6cbdff2dce18df3140f78ede 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( 'lazyload_is_enabled', 'htdat_disable_lazy_load_homepage', 15 ); | |
function htdat_disable_lazy_load_homepage() { | |
if ( is_front_page() ) { | |
return false; | |
} | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment