[WordPress] 外掛分享: R2 Cloud Storage

首頁外掛目錄 › R2 Cloud Storage
全新外掛
安裝啟用
尚無評分
6 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-04-25

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「R2 Cloud Storage」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

R2 Cloud Storage offloads your WordPress Media Library to Cloudflare R2 — an S3-compatible object storage with zero egress fees.
Why Cloudflare R2?

$0 egress fees — No cost for serving files, unlike AWS S3 ($0.09/GB)
S3-compatible API — Works with existing tools
Cloudflare CDN integration — Custom domains with global edge caching
Pay only for storage: $0.015/GB/month

Core Features (Free)

Automatic media offload on upload
URL rewriting (serve from R2/custom domain)
Pre-signed URLs for protected content
Bulk sync/migration tool
Responsive image (srcset) support
Remove local copies to save disk space
REST API for programmatic access
i18n ready (pt_BR included)

Modular Add-on System
Extend R2 Cloud Storage with platform-specific add-ons:

WooCommerce — Digital downloads via R2, product images, signed URLs per order
LearnDash — Course videos and materials with signed URL protection
Tutor LMS — Protected video streaming and course materials
Easy Digital Downloads — Secure digital delivery via R2
MemberPress — Protected member content via R2
BuddyBoss — Community uploads stored on R2

Developer Friendly
`php

// Register your own add-on
add_action( ‘r2cs_register_addon’, function( $manager ) {
$manager->register( ‘my-addon’, ‘1.0.0’, ‘My_Addon_Class’ );
});
// Generate signed URLs
$url = r2cs()->signed_url()->generate( ‘path/to/file.pdf’, 3600 );
// Upload files programmatically
$result = r2cs()->client()->upload_file( ‘/local/path.pdf’, ‘remote/path.pdf’ );
`
External Services
This plugin connects to external third-party services as described below.
Cloudflare R2 Object Storage
This plugin connects to the Cloudflare R2 API to upload, retrieve, and delete media files stored in your R2 bucket. The connection is made to https://.r2.cloudflarestorage.com using your configured credentials (Account ID, Access Key, and Secret Key).
Data is sent whenever media files are uploaded, deleted, synced, or served via the plugin. The data transmitted includes the file contents and metadata (object key/path).

Cloudflare Terms of Service
Cloudflare Privacy Policy

R2 Cloud Storage License API
This plugin connects to the R2 Cloud Storage license server at https://r2cloudstorage.com/api/v1/license to activate, deactivate, and verify add-on license keys. This connection is only made when a user manually activates or deactivates an add-on license, or when a periodic license verification is performed.
The data transmitted includes: the license key, the add-on slug, and the site domain.

R2 Cloud Storage Terms of Service
R2 Cloud Storage Privacy Policy

延伸相關外掛

文章
Filter
Apply Filters
Mastodon