Add icons to media lazyload exclusions #8226
andrewinsidelazarev
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why after pay money I should write this:
add_filter( 'rocket_lazyload_excluded_src', function( $excluded_images ) {
$excluded_images[] = 'data:image';
return $excluded_images;
});
add_filter( 'rocket_lazyload_excluded_background_images', function( $excluded ) {
$excluded[] = 'data:image';
return $excluded;
});
??
Maybe better add flag "Do not lazyload icons" ?
Beta Was this translation helpful? Give feedback.
All reactions