Wordpress LScache Plugin: How CDN replaces original URLs
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, I am planning to remove all images from server however the WP-Lister for eBay plugin currently requires images to be on same site. Please can you help me figure out how the CDN part of your plugin replaces the URLs and process the listing description before it is sent to eBay by using the wplister_filter_listing_item filter like so: (Snippet below kindly provided by WP-Lister developer) add_filter( wplister_filter_listing_item, run_cdn_replacements ) function run_cdn_replacements( $item ) // Run the replacements on $item->Description here? This is a demo only $item->Description = apply_filters( the_content, $item->Description ) return $item The goal here is to allow WP-Lister to output image URLs same as the CDN URL. I hope you are able to help! Kind regards This topic was modified 1 year, 10 months ago by lpackman. Hi, okay , sorry we dont have hook for this but we just simply replace the domain to cdn domain you set e.g. https://www.domain.com/wp-content/uploads/2021/01/test.jpg to https://cdn.domain.com/wp-content/uploads/2020/01/test.jpg basically , just change the http://www.domain.com to cdn.domain.com Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference