facetwp/github-updater-lite
Composer 安装命令:
composer require facetwp/github-updater-lite
包简介
Drop-in support for GitHub automatic updates
README 文档
README
Enable automatic updates for your GitHub-hosted WordPress plugins.
This is a variant of Andy Fragen's excellent GitHub Updater plugin. If you need all the bells and whistles (BitBucket, private repositories, etc), please use Andy's plugin!
Usage
Add the following line to your plugin's meta information, replacing owner/repo with your public repository.
GitHub URI: owner/repo
Then, add github-updater.php to your plugin folder, and include() it from within your main plugin file. Make sure it loads before the plugins_loaded action fires.
include( dirname( __FILE__ ) . '/github-updater.php' );
The code fetches git tags to determine whether updates are available.
That's it, have fun!
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 44
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-17