advanced-ads/updater
Composer 安装命令:
composer require advanced-ads/updater
包简介
The advanced ads addon updater
README 文档
README
📃 About
This package allows plugins to use their own update API.
💾 Installation
composer require advanced-ads/updater
🕹 Usage
include('vendor/autoload.php'); // retrieve our license key from the DB $license_key = trim( get_option( 'edd_sample_license_key' ) ); // setup the updater $edd_updater = new AdvancedAds\Framework\EDD\Updater( 'STORE_URL', __FILE__, array( 'version' => '1.0', // current version number 'license' => $license_key, // license key (used get_option above to retrieve from DB) 'item_id' => EDD_SAMPLE_ITEM_ID, // id of this plugin 'author' => 'Author Name', // author of this plugin 'beta' => false // set to true if you wish customers to receive update notifications of beta releases ) );
📖 Changelog
统计信息
- 总下载量: 147
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2024-11-18