Created
October 1, 2019 18:42
-
-
Save lukecav/546acc3d08a88a4795ea31d91f23f1de to your computer and use it in GitHub Desktop.
Disable fallback script in the Native Lazyload plugin
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
add_filter( 'native_lazyload_fallback_script_enabled', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wordpress.org/plugins/native-lazyload/#this%20plugin%20still%20loads%20an%20extra%20javascript%20file!%20i%20don%E2%80%99t%20want%20that.
https://felix-arntz.me/blog/native-lazy-loading-wordpress/