I have a plugin that uses the featured images of post to display them in a grid.
I also have a CDN installed. However, my plugin doesn’t use the right url when displaying images, it displays them using the “original” url of my wordpress and not the “CDN” url.
My hypothesis is that the plugin uses one of the core functions of wordpress to get the featured image URL to display the image and this URL is composed of the “original” URL.
Two questions arise : 1- Which functions could that plugin use to get the featured image URL ? 2- Is there a way to “override” that function and specify another base URL for the featured image URL ?
Normally the CDN plugin I use takes care of that, however for some of the instances it doesn’t.
Thanks