Support » Plugin: Lazy Load » Add div around lazyload_placeholder_image ?

  • bisonbrah

    (@bisonbrah)


    Hi there I was wondering how you would add a div around the custom lazy loaded image?

    add_filter( 'lazyload_images_placeholder_image', 'my_custom_lazyload_placeholder_image' );
    function my_custom_lazyload_placeholder_image( $image ) {
    	return 'IMAGE-URL';
    }

    https://wordpress.org/plugins/lazy-load/

  • The topic ‘Add div around lazyload_placeholder_image ?’ is closed to new replies.