FeatureFuel
1

Add icons to media lazyload exclusions

Source: wp-media/wp-rocket#8226 · opened by @andrewinsidelazarev
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" ?

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests