Closed hupe13 closed 5 months ago
Yes, you can use the vcs_update_detection_strategies
filter to prevent PUC from looking at releases. Try something like this:
use YahnisElsts\PluginUpdateChecker\v5p3\Vcs\GitHubApi;
$updateChecker->addFilter('vcs_update_detection_strategies', function($strategies) {
unset($strategies[GitHubApi::STRATEGY_LATEST_RELEASE]);
return $strategies;
});
Thank you very much, it works.
Is it possible to ignore any releases and consider tags only?