filter

lazyload_images_placeholder_image

Allows plugins and themes to modify the placeholder image.This filter is not prefixed with jetpack_ to provide a smoother migration process from the WordPress Lazy Load plugin.

Parameters

The
string

The URL to the placeholder image.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.

Notes

You can use this filter to change the image that is used as a placeholder image when using Jetpack’s Lazy Images feature.
function jetpackcom_lazyload_placeholder_image( $image ) {
    return 'http://url/to/image';
}
add_filter( 'lazyload_images_placeholder_image', 'jetpackcom_lazyload_placeholder_image' );