开发者 |
mohammadr3z |
---|---|
更新时间 | 2025年9月29日 20:59 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPL-2.0-or-later |
版权网址: | 版权信息 |
/wp-content/plugins/storage-for-edd-via-s3-compatible
directory, or install the plugin through the WordPress plugins screen directly.composer install
in the plugin directory if installing from source (not needed for release versions).This plugin works with any S3-compatible storage service including:
The plugin generates presigned URLs with configurable expiration times (default 3 minutes). These URLs are temporary and cannot be shared or reused after expiration, ensuring your digital products remain secure.
The plugin supports safe file types including:
Yes, the plugin includes an S3 Library feature that allows you to browse and select existing files from your S3 bucket directly within the WordPress admin interface.
Yes, developers can customize the URL prefix using the s3cs_edd_url_prefix
filter. Add this code to your theme's functions.php:
function customize_s3_url_prefix($prefix) { return 'edd-customprefix://'; // Change to your preferred prefix } add_filter('s3cs_edd_url_prefix', 'customize_s3_url_prefix');
s3cs_edd_url_prefix
filter) for improved developer flexibility.makeRequestWithoutAuth
method to enhance security posturehttps://
to Endpoint URL to prevent XML parsing errors.WP_Scripts::localize
error by using wp_add_inline_script()
for non-array values..js
files for better maintainability and performance..css
files.