{"id":16900842,"date":"2023-07-17T14:26:23","date_gmt":"2023-07-17T14:26:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/replace-some-images\/"},"modified":"2023-07-17T15:02:31","modified_gmt":"2023-07-17T15:02:31","slug":"replace-some-images","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/replace-some-images\/","title":{"rendered":"Replace some images"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi, I need exclude some images (by ID for example) from CDN. What filters do you use to change the original image to the CDN image? I thought they use wp_get_attachment_url or wp_calculate_image_srcset but they don&#8217;t work.<\/p>\n","protected":false},"template":"","class_list":["post-16900842","topic","type-topic","status-publish","hentry","topic-tag-cdn","topic-tag-exclude","topic-tag-images"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16900842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16900842\/revisions"}],"predecessor-version":[{"id":16900978,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16900842\/revisions\/16900978"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16900842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}