Filter please!!
-
Can you please modify this one line of
/lib/classes/class-utility.php
??From:
$bucketLink = 'https://storage.googleapis.com/' . ud_get_stateless_media()->get( 'sm.bucket' );
To:
$bucketLink = apply_filters('wp_stateless_bucket_link', 'https://storage.googleapis.com/' . ud_get_stateless_media()->get( 'sm.bucket' ) );
This allows me a filter, where I can modify the displayed domain for the Google Cloud bucket.
I’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’T start with storage.googleapis.com.
Anyway, this is SOLVED for me, but I’ve had to hack your plugin, which would be solved with the above change.
Many thanks!!
A
- The topic ‘Filter please!!’ is closed to new replies.