Commit be6fa1ee authored by Joe Hoyle's avatar Joe Hoyle
Browse files

Added a filter for the s3 client params

parent c8905c95
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -142,6 +142,8 @@ class S3_Uploads {
			$params['region'] = $this->region;
		}

		$params = apply_filters( 's3_uploads_s3_client_params', $params );

		$this->s3 = Aws\Common\Aws::factory( $params )->get( 's3' );

		return $this->s3;