wpelevator/update-pilot
最新稳定版本:0.5.2
Composer 安装命令:
composer require wpelevator/update-pilot
包简介
Update Pilot for WordPress
README 文档
README
Get updates from all Update Pilot Server supported plugins and themes.
Available Hooks
Please note that on WordPress multisite the code using these hooks should be running on the main network site as the WordPress updates happen only there.
Filters:
-
update_pilot__plugin_update_key__${plugin_file}returnsstringproduct key to be used for HTTP Basic auth when checking updates for${plugin_file}. -
update_pilot__current_user_can_manage_updatesreturnsboolif the current user can configure the update pilot settings and see any error notifications. -
update_pilot__is_update_pilot_urlreturnsboolif the secondstringargument is a validUpdateURIto be checked for updates.
Integration Guide
-
Setup the Update Pilot Server on your server.
-
Add
Update URIheader to your pluginhttps://updates.example.com/wp-json/update-pilot/v1/pluginsor themehttps://updates.example.com/wp-json/update-pilot/v1/themes. -
Optinally, include
update-pilot.phpin the root of your plugin or theme directory to customize any of the update functionality. This file will be included by the Update Pilot even if the rest of your plugin is disabled.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-04-01
