Forums
Forums / Plugin: Native Lazyload / Disable JavaScript file
(@bibiska)
6 years, 8 months ago
Hi
In which file should I add this code to?
add_filter( ‘native_lazyload_fallback_script_enabled’, ‘__return_false’ )
Could it be a footer.php (or just functions.php)?
Thanks
(@flixos90)
6 years, 5 months ago
You can add this code to either a custom plugin file you create, or alternatively your theme’s functions.php file.
functions.php
The topic ‘Disable JavaScript file’ is closed to new replies.