radishconcepts / WordPress-GitHub-Plugin-Updater

This class is meant to be used with your Github hosted WordPress plugins. The purpose of the class is to allow your WordPress plugin to be updated whenever you push out a new version of your plugin; similarly to the experience users know and love with the WordPress.org plugin repository.
https://github.com/jkudish/WordPress-GitHub-Plugin-Updater
822 stars 195 forks source link

Add filter for checking if update is needed #91

Closed blakewilson closed 5 months ago

blakewilson commented 1 year ago

Adds a filter wp_github_update_check to the API check to see if there is a new update available.

For example, a project may want to modify the api check update to only allow an update if it's outside of a SemVer Major release (breaking change). This filter allows them to do so without actually modifying the updater.php class.

Related issue: #92