How do I change the lazyload placeholder image in WordPress?

 
add_filter('geodir_map_params','wpsc_my_lazylod_placeholder_image');
function wpsc_my_lazylod_placeholder_image($args){
	if(!empty($args['lazyLoadPlaceholder'])){
		$args['lazyLoadPlaceholder'] = "https://localhost.com/my-image.svg";
	}
	return $args;
}

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Share This