最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to create a plugin with automatic update?

programmeradmin1浏览0评论

I'm developing a plugin and would like to know how do I send automatic updates to it? Do I have to use webhooks for this?

The plugin will be for private use, it will scan the website to remove malware, however there is always the possibility of creating new malware outside of those that are already included in the removal list.

Thank you.

I'm developing a plugin and would like to know how do I send automatic updates to it? Do I have to use webhooks for this?

The plugin will be for private use, it will scan the website to remove malware, however there is always the possibility of creating new malware outside of those that are already included in the removal list.

Thank you.

Share Improve this question asked May 13, 2020 at 19:57 Marcelo TomazMarcelo Tomaz 153 bronze badges 2
  • Do you mean actual plugin updates or updates to data that the plugin stores? The easiest way will be to publish the current version number and dataset on your own server, and then set up a wp_cron job or similar in the plugin that fetch the latest version number from your server and compares it against the version number it has stored. – Rup Commented May 14, 2020 at 7:10
  • Perfect thank you! – Marcelo Tomaz Commented May 14, 2020 at 15:16
Add a comment  | 

1 Answer 1

Reset to default 0

I think this plugin might help

https://wordpress/plugins/gitium/

发布评论

评论列表(0)

  1. 暂无评论