Created
December 24, 2017 17:58
-
-
Save spacedmonkey/be74fb8160d5746f43614774db4d877b to your computer and use it in GitHub Desktop.
Using S3 Uploads with digital ocean spaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('s3_uploads_s3_client_params', function($params){ | |
$params['endpoint'] = 'https://ams3.digitaloceanspaces.com'; | |
return $params; | |
}, 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment