W3 Total Cache
Apply CDN URL to wp_get_attachment_image results (1 post)

  1. jtwg
    Posted 3 years ago #

    There are places in our site where we use shortcodes to format content and pull images out of the DB using wp_get_attachment_image. What I'd like to do is get W3 Total Cache to try to pull these from the CDN at CloudFront. I thought using apply_filters('the_content') to the image path directly would work but it doesn't.

    Has anyone tried to do this before with any success?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic