Source file: vendor/automattic/jetpack-lazy-images/src/lazy-images.php
View in GitHubParameters
- The
-
(string) The URL to the placeholder image.
Changelog
Since: Jetpack 5.6.0
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' );