classes/Tools/Storage/StorageTool.php
private function getOffloadS3URL($post_id, $info) {
		if(!is_array($info) && (count($info) < 1)) {
			return null;
		}

		$region = $info[0]['region'];
		$bucket = $info[0]['bucket'];
		$file = $info[0]['key'];

		return "https://s3-$region.amazonaws.com/$bucket/$file";
	}
private function getOffloadS3URL($post_id, $info) {
		if(!is_array($info) && (count($info) < 1)) {
			return null;
		}

		$region = $info[0]['region'];
		$bucket = $info[0]['bucket'];
		$file = $info[0]['key'];

		return "https://s3-$region.amazonaws.com/$bucket/$file";
	}
private function getOffloadS3URL ( $ post_id , $ info ) { if ( ! is_array ( $ info ) && ( count ( $ info ) < 1 ) ) { return null ; } $ region = $ info [ 0 ] [ 'region' ] ; $ bucket = $ info [ 0 ] [ 'bucket' ] ; $ file = $ info [ 0 ] [ 'key' ] ; return "https://s3-$region.amazonaws.com/$bucket/$file" ; }
For compatibility with Offload S3.

@param int $post_id
@param array $info

@return null|string
For compatibility with Offload S3 .