跳到内容

R2 Cloud Storage

v1.0.0

jhomoura · 2026年4月26日 上架

Offload your WordPress media to Cloudflare R2 with zero egress fees. Modular add-on system for WooCommerce, LearnDash, EDD and more.

正在使用
100+
评分
暂无
累计下载
995
最近更新
2026年4月26日
需要 WordPress 6.0+已测试到 6.9.12PHP 7.4+

贡献者

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://<account_id>.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).

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums