function to replace og:image and twitter:image to non-CDN
-
Hi,
I have a plugin that converts all images to the CDN-hosted ones. However, I want to change the og:image and twitter:image (featured image) meta tags to link to the original non-CDN images.Do you which hook can I use for a function that replaces cdn.mywebsite.com to mywebsite.com (using str_replce or preg_replace)?
Thanks,
G
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘function to replace og:image and twitter:image to non-CDN’ is closed to new replies.