devgeniem/wp-stateless-bucket-link-filter
最新稳定版本:1.2.0
Composer 安装命令:
composer require devgeniem/wp-stateless-bucket-link-filter
包简介
Enables filtering WP Stateless bucket link via a PHP constant.
README 文档
README
WP Stateless Bucket Link Filter
This WordPress mu-plugin enables filtering the Google Storage bucket link in the WP Stateless Media Plugin with a PHP constant.
Installation
Install with composer:
$ composer require devgeniem/wp-stateless-bucket-link-filter
Usage
WP_STATELESS_BUCKET_LINK_REPLACE
The bucket link in WP Stateless Media Plugin replaces all upload urls. Define this constant to replace the default bucket link https://storage.googleapis.com/{bucket-name}/.
Example:
// This will set the bucket link point to 'https://my-test-site.test/uploads/'
define( 'WP_STATELESS_BUCKET_LINK_REPLACE', 'https://my-test-site.test/uploads' );
统计信息
- 总下载量: 28.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2017-10-13
