How to define a remote uploads directory?

IMHO a better approach would be adding the remote server’s directory as a locally mounted directory and use this as wp-content directory. Doing this on the block/filesystem level means that WordPress won’t notice a thing, since it appears to WordPress as normal local directory. You may want to have a look at sshfs in order … Read more

Set timeout on wp_remote_post()

For cURL, a minimum of 1 second applies, as DNS resolution operates at second-resolution only. See more in wp-includes/class-request.php function request()