{"id":8999161,"date":"2017-04-06T01:40:02","date_gmt":"2017-04-06T01:40:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/filter-please\/"},"modified":"2017-04-06T01:40:02","modified_gmt":"2017-04-06T01:40:02","slug":"filter-please","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/filter-please\/","title":{"rendered":"Filter please!!"},"content":{"rendered":"<p>Can you please modify this one line of <code>\/lib\/classes\/class-utility.php<\/code> ??<\/p>\n<p>From:<\/p>\n<p><code>$bucketLink = &#039;https:\/\/storage.googleapis.com\/&#039; . ud_get_stateless_media()-&gt;get( &#039;sm.bucket&#039; );<\/code><\/p>\n<p>To:<\/p>\n<p><code>$bucketLink = apply_filters(&#039;wp_stateless_bucket_link&#039;, &#039;https:\/\/storage.googleapis.com\/&#039; . ud_get_stateless_media()-&gt;get( &#039;sm.bucket&#039; ) );<\/code><\/p>\n<p>This allows me a filter, where I can modify the displayed domain for the Google Cloud bucket.<\/p>\n<p>I&#8217;m using HTTPS on my own custom domain. Accordindly, Google requires me to setup a load balancer, etc, all of which I have done, but now the default URL is different and DOESN&#8217;T start with storage.googleapis.com.<\/p>\n<p>Anyway, this is SOLVED for me, but I&#8217;ve had to hack your plugin, which would be solved with the above change.<\/p>\n<p>Many thanks!!<\/p>\n<p>A<\/p>\n","protected":false},"template":"","class_list":["post-8999161","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8999161","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8999161\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8999161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}