Browsing hooks for feature: Lazy Images

    jetpack_lazy_images_blocked_classes

    hook (filter): Allow plugins and themes to tell lazy images to skip an image with a given class.

    Source: jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php:247

    jetpack_lazy_images_blacklisted_classes

    hook (filter): Allow plugins and themes to tell lazy images to skip an image with a given class.

    Source: modules/lazy-images/lazy-images.php:141

    lazyload_is_enabled

    hook (filter): Whether the lazy-images module should load.<p>This filter is not prefixed with jetpack_ to provide a smoother migration process from the WordPress Lazy Load plugin.</p>

    Source: jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php:109

    jetpack_lazy_images_new_attributes

    hook (filter): Allow plugins and themes to override the attributes on the image before the content is updated.<p>One potential use of this filter is for themes that set <code>height:auto</code> on the <code>img</code> tag. With this filter, the theme could get the width and height attributes from the $attributes array and then add a style tag that sets those values as well, which could minimize reflow as images load.</p>

    Source: jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php:399

    lazyload_images_placeholder_image

    hook (filter): Allows plugins and themes to modify the placeholder image.<p>This filter is not prefixed with jetpack_ to provide a smoother migration process from the WordPress Lazy Load plugin.</p> View Example

    Source: jetpack_vendor/automattic/jetpack-lazy-images/src/lazy-images.php:450