get_gs_host

get_gs_host

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.3.4.1

apply_filters('get_gs_host') is found 1 times:

  • /lib/classes/class-bootstrap.php line 582
              $image_host = $is_ssl === 0 ? 'https://' : 'http://';  // bucketname will be host
              $image_host .=  $custom_domain;
            }
    
            return apply_filters('get_gs_host', $image_host, $image_host, $sm['bucket'], $is_ssl, $sm);
          }
    
          /**
           * Filter for wp_stateless_bucket_link if custom domain is set.
           * It's get attachment url and remove "storage.googleapis.com" from url.
           * So that custom url can be used.