开发者 |
masoudin
wpfitter bahreynipour |
---|---|
更新时间 | 2024年12月14日 13:42 |
PHP版本: | 8.1 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
define('ADVMO_CLOUDFLARE_R2_KEY', 'your-access-key'); define('ADVMO_CLOUDFLARE_R2_SECRET', 'your-secret-key'); define('ADVMO_CLOUDFLARE_R2_BUCKET', 'your-bucket-name'); define('ADVMO_CLOUDFLARE_R2_DOMAIN', 'your-domain-url'); define('ADVMO_CLOUDFLARE_R2_ENDPOINT', 'your-endpoint-url');
define('ADVMO_DOS_KEY', 'your-access-key'); define('ADVMO_DOS_SECRET', 'your-secret-key'); define('ADVMO_DOS_BUCKET', 'your-bucket-name'); define('ADVMO_DOS_DOMAIN', 'your-domain-url'); define('ADVMO_DOS_ENDPOINT', 'your-endpoint-url');
define('ADVMO_MINIO_KEY', 'your-access-key'); define('ADVMO_MINIO_SECRET', 'your-secret-key'); define('ADVMO_MINIO_BUCKET', 'your-bucket-name'); define('ADVMO_MINIO_DOMAIN', 'your-domain-url'); define('ADVMO_MINIO_ENDPOINT', 'your-endpoint-url');
define('ADVMO_AWS_KEY', 'your-access-key'); define('ADVMO_AWS_SECRET', 'your-secret-key'); define('ADVMO_AWS_BUCKET', 'your-bucket-name'); define('ADVMO_AWS_REGION', 'your-bukcet-region'); define('ADVMO_AWS_DOMAIN', 'your-domain-url');
Currently, the plugin supports only Cloudflare R2, DigitalOcean Spaces, Amazon S3 & MinIO, but we are working on adding support for other cloud storage platforms.
They will remain on your server and be served from there. You can choose to bulk offload them to cloud storage if needed.
The plugin automatically detects and rewrites URLs for uploaded files, enabling them to be served directly from cloud storage.
After offloading to the cloud, files remain on your server by default. However, in the plugin settings, you can enable “Smart Local Cleanup” to retain only the original file after offloading, or select “Full Cloud Migration” to remove all local files.
If the “Mirror Delete” option is enabled in the plugin settings, the corresponding file will also be removed from cloud storage. Otherwise, the file will remain in cloud storage even after being deleted from the WordPress Media Library.