Overview
LazyLoad Plugin describes itself as: “The best free lazy load plugin for WordPress. Lazy load images, videos, and iframes to improve performance and Core Web Vitals scores.”
It is active on 100,000+ WordPress sites and rated 4.2 out of 5 by 139 users on WordPress.org. Developers can extend it through 0 actions and 16 filters, listed below.
How to install LazyLoad Plugin
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “LazyLoad Plugin” and pick the one by WP Media.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install rocket-lazy-load --activateRequirements: WordPress 4.9+ · PHP 7.4+ · tested up to WordPress 7.1.4
Hooks & customisation
LazyLoad Plugin 2.4.1 fires 0 actions and 16 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter the LazyLoad placeholder on src attribute
apply_filters( 'rocket_lazyload_placeholder', 'about:blank' );
// Filters the lazyload application
apply_filters( 'do_rocket_lazyload', true );
// Regex to detect bg images inside CSS.
apply_filters( 'rocket_lazyload_bg_images_regex', 'background-image\s*:\s*(?<attr>\s*url\s*\((?<url>[^)]+)\))\s*;?' );
// Filters the patterns excluded from lazyload for youtube thumbnails.
apply_filters( 'rocket_lazyload_exclude_youtube_thumbnail', [] );
// Filters the attributes used to prevent lazylad from being applied
apply_filters( 'rocket_lazyload_excluded_attributes', … );
// Filters the src used to prevent lazylad from being applied
apply_filters( 'rocket_lazyload_excluded_src', … );Need LazyLoad Plugin customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with WP Media. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.